summaryrefslogtreecommitdiff
path: root/sys/src/libip/parseip.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@gmx.de>2013-04-02 01:40:29 +0200
committercinap_lenrek <cinap_lenrek@gmx.de>2013-04-02 01:40:29 +0200
commite8c1d0fe7cdfcbf0d913b5091a33a14da561f976 (patch)
treea04271094793b14bcd1bd5050afc7c90399b6fe7 /sys/src/libip/parseip.c
parente8a02760901e0b700ba845c9f57601f662e0e0aa (diff)
ape: check *alen before copying in getpeername(), getsockname() and accept()
*alen has to be initialized to the size of the buffer by the caller, and we are supposed to put the real size of the address in there, but not copy more than the original *alen value (truncate).
Diffstat (limited to 'sys/src/libip/parseip.c')
0 files changed, 0 insertions, 0 deletions