mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
resolv: Move ns_name_ntop to its own file and into libc
Reformat to GNU style. Avoid out-of-bounds pointer arithmetic (e.g., use eom - dn < 2 instead of dn + 1 >= eom). Inline the labellen function and fold the compression pointer check into the length check (l >= 64). Assume ASCII encoding. The symbol was moved using scripts/move-symbol-to-libc.py. Reviewed-by: Carlos O'Donell <carlos@redhat.com> Tested-by: Carlos O'Donell <carlos@redhat.com>
This commit is contained in:
@ -2577,6 +2577,7 @@ GLIBC_2.34 mtx_lock F
|
||||
GLIBC_2.34 mtx_timedlock F
|
||||
GLIBC_2.34 mtx_trylock F
|
||||
GLIBC_2.34 mtx_unlock F
|
||||
GLIBC_2.34 ns_name_ntop F
|
||||
GLIBC_2.34 openpty F
|
||||
GLIBC_2.34 posix_spawn_file_actions_addclosefrom_np F
|
||||
GLIBC_2.34 pthread_attr_getaffinity_np F
|
||||
@ -3037,4 +3038,5 @@ GLIBC_2.8 timerfd_settime F
|
||||
GLIBC_2.9 dup3 F
|
||||
GLIBC_2.9 epoll_create1 F
|
||||
GLIBC_2.9 inotify_init1 F
|
||||
GLIBC_2.9 ns_name_ntop F
|
||||
GLIBC_2.9 pipe2 F
|
||||
|
@ -77,7 +77,6 @@ GLIBC_2.9 ns_makecanon F
|
||||
GLIBC_2.9 ns_msg_getflag F
|
||||
GLIBC_2.9 ns_name_compress F
|
||||
GLIBC_2.9 ns_name_ntol F
|
||||
GLIBC_2.9 ns_name_ntop F
|
||||
GLIBC_2.9 ns_name_pack F
|
||||
GLIBC_2.9 ns_name_pton F
|
||||
GLIBC_2.9 ns_name_rollback F
|
||||
|
Reference in New Issue
Block a user