summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/malloc.c
diff options
context:
space:
mode:
authoritojun <>2000-01-28 17:47:26 +0000
committeritojun <>2000-01-28 17:47:26 +0000
commitaf545fafa6ab3bf7a4f91cc73e97df4db15930c1 (patch)
tree62f2160333a3c37b34f0e9dc3bf97fbb731d5bd2 /src/lib/libc/stdlib/malloc.c
parent5b1f731bf4378d5cde8894a5aa27c652e69e5a5f (diff)
downloadopenbsd-af545fafa6ab3bf7a4f91cc73e97df4db15930c1.tar.gz
openbsd-af545fafa6ab3bf7a4f91cc73e97df4db15930c1.tar.bz2
openbsd-af545fafa6ab3bf7a4f91cc73e97df4db15930c1.zip
don't permit freeaddrinfo(NULL). now the behavior is consistent
across {free,net,open}bsd. both rfc2553 and X/Open spec are silent about the behavior, and there's no strong consensus either. i think library should NOT be forgiving in this case, to promote development of more robust 3rd-party codebase (code works on "freeaddrinfo(NULL) = SEGV" will work on "freeaddrinfo(NULL) is okay" environment, but not the other way around). only issue i have now is NRL freeaddrinfo() compatibility, which permits freeaddrinfo(NULL).
Diffstat (limited to 'src/lib/libc/stdlib/malloc.c')
0 files changed, 0 insertions, 0 deletions