diff options
| author | Ken Raeburn <raeburn@mit.edu> | 2002-11-13 02:05:16 +0000 |
|---|---|---|
| committer | Ken Raeburn <raeburn@mit.edu> | 2002-11-13 02:05:16 +0000 |
| commit | 516e41d1fa9970f0b6f3bd58f46e77ebe2a3beaf (patch) | |
| tree | 4a3cc8741ae7b71f9323c26384dd537fe55e8a0c /src/include/ChangeLog | |
| parent | a181cdb39430ca61c92df6c3200d04b5b98fcf31 (diff) | |
| download | krb5-516e41d1fa9970f0b6f3bd58f46e77ebe2a3beaf.tar.gz krb5-516e41d1fa9970f0b6f3bd58f46e77ebe2a3beaf.tar.xz krb5-516e41d1fa9970f0b6f3bd58f46e77ebe2a3beaf.zip | |
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.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14995 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include/ChangeLog')
| -rw-r--r-- | src/include/ChangeLog | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/include/ChangeLog b/src/include/ChangeLog index 20576f8d9..8931bebf1 100644 --- a/src/include/ChangeLog +++ b/src/include/ChangeLog @@ -1,3 +1,15 @@ +2002-11-12 Ken Raeburn <raeburn@mit.edu> + + * 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. + [_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. + 2002-10-23 Sam Hartman <hartmans@mit.edu> * spnego-asn1.h: New file. |
