Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: basesrc/lib/libc/net
Module Name: basesrc
Committed By: itojun
Date: Wed Jun 26 06:00:08 UTC 2002
Modified Files:
basesrc/lib/libc/net: gethnamaddr.c getnetnamadr.c
Log Message:
avoid remote buffer overrun on hostbuf[]. From: Joost Pol
<joost%pine.nl@localhost>
correct bad practice in the code - it uses two changing variables
to manage buffer (buf and buflen). we eliminate buflen and use
fixed point (ep) as the ending pointer.
this fix is critical.
To generate a diff of this commit:
cvs rdiff -r1.45 -r1.46 basesrc/lib/libc/net/gethnamaddr.c
cvs rdiff -r1.21 -r1.22 basesrc/lib/libc/net/getnetnamadr.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index