Module Name: krb5 Committed By: raeburn Date: Wed Nov 13 02:05:17 UTC 2002 Modified Files: krb5/src/include/ChangeLog krb5/src/include/fake-addrinfo.h Added Files: Removed Files: Log Message Better type and bounds checking: * fake-addrinfo.h [NEED_FAKE_GETADDRINFO]: Include errno.h. (fake_getnameinfo): Check that socklen_t size arguments are positive and fit in size_t; return EAI_SYSTEM/EINVAL if not. Use the size_t variants when calling string functions. Work around another AIX bug: [_AIX]: Define NUMERIC_SERVICE_BROKEN. [NUMERIC_SERVICE_BROKEN]: Include ctype.h and stdlib.h. (getaddrinfo) [NUMERIC_SERVICE_BROKEN]: If the service name is a numeric string, save its value and the socket type, pass a null pointer to the real getaddrinfo, and patch the returned results. To generate a diff of this commit: cvs diff -r1.326 -r1.327 krb5/src/include/ChangeLog cvs diff -r1.30 -r1.31 krb5/src/include/fake-addrinfo.h