diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-04-08 08:14:28 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-04-08 08:14:28 -0400 |
commit | e2cc0bee118d7a282bdce0b71db433def3022fb6 (patch) | |
tree | a639415206c52ca1dcbe9eca03bc3c610bce026b /src/stdio/vfwscanf.c | |
parent | d4fbebe18d2d063069b1505d357a1ff3b5ca0ab8 (diff) | |
download | musl-e2cc0bee118d7a282bdce0b71db433def3022fb6.tar.gz musl-e2cc0bee118d7a282bdce0b71db433def3022fb6.tar.xz musl-e2cc0bee118d7a282bdce0b71db433def3022fb6.zip |
return the requested string as the "canonical name" for numeric addresses
previously NULL was returned in ai_canonname, resulting in crashes in some callers. this behavior was incorrect. note however that the new behavior differs from glibc, which performs reverse dns lookups. POSIX is very clear that a reverse DNS lookup must not be performed for numeric addresses.
Diffstat (limited to 'src/stdio/vfwscanf.c')
0 files changed, 0 insertions, 0 deletions