Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-1-6] basesrc/lib/libc/net



Module Name:    basesrc
Committed By:   lukem
Date:           Wed Jun 26 11:11:16 UTC 2002

Modified Files:
        basesrc/lib/libc/net [netbsd-1-6]: gethnamaddr.c

Log Message:
Pull up revision 1.46 (requested by itojun in ticket #371):
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.42.2.1 -r1.42.2.2 basesrc/lib/libc/net/gethnamaddr.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