]> andersk Git - openssh.git/commit - scp.c
- djm@cvs.openbsd.org 2006/03/25 01:13:23
authordjm <djm>
Sun, 26 Mar 2006 03:22:47 +0000 (03:22 +0000)
committerdjm <djm>
Sun, 26 Mar 2006 03:22:47 +0000 (03:22 +0000)
commitc5d10563138ba0f06f531c176e59ba06401386f5
tree43399929c14b710d44a20d698fe763578536b412
parent52e3daedec4da996f923934417982ace52d0b981
   - djm@cvs.openbsd.org 2006/03/25 01:13:23
     [buffer.c channels.c deattack.c misc.c scp.c session.c sftp-client.c]
     [sftp-server.c ssh-agent.c ssh-rsa.c xmalloc.c xmalloc.h auth-pam.c]
     [uidswap.c]
     change OpenSSH's xrealloc() function from being xrealloc(p, new_size)
     to xrealloc(p, new_nmemb, new_itemsize).

     realloc is particularly prone to integer overflows because it is
     almost always allocating "n * size" bytes, so this is a far safer
     API; ok deraadt@
16 files changed:
ChangeLog
auth-pam.c
buffer.c
channels.c
deattack.c
misc.c
scp.c
session.c
sftp-client.c
sftp-server.c
ssh-agent.c
ssh-rand-helper.c
ssh-rsa.c
uidswap.c
xmalloc.c
xmalloc.h
This page took 0.071092 seconds and 5 git commands to generate.