Source-Changes archive

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

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

Module Name:    src
Committed By:   riz
Date:           Mon Dec 23 22:56:48 UTC 2013

Modified Files:
        src/lib/libc/net [netbsd-6]: getaddrinfo.c gethnamaddr.c

Log Message:
Apply additional patches (requested by bad in ticket #975):

src/lib/libc/net/getaddrinfo.c r1.106:
this is supposed to be re-entrant, call don't call __hostalias that uses
a static buffer.

src/lib/libc/net/gethnamaddr.c r1.85:
- don't clobber hp in the RES_USE_INET6 case
- increment naddrs in the yp case
- don't use __hostalias(), it is not thread-safe.

Fixes additional issues in PR lib/46454

To generate a diff of this commit:
cvs rdiff -u -r1.96.4.1 -r1.96.4.2 src/lib/libc/net/getaddrinfo.c
cvs rdiff -u -r1.77.4.1 -r1.77.4.2 src/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