1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-28 00:21:52 +03:00

resolv: Move ns_name_unpack to its own file and into libc

Reformat to GNU style. Avoid out-of-bounds buffer arithmetic.
Eliminate the labellen function.

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:
Florian Weimer
2021-07-15 08:28:50 +02:00
parent ee3639e0fe
commit 820bb23ff0
69 changed files with 187 additions and 115 deletions

View File

@ -1396,6 +1396,7 @@ GLIBC_2.29 nl_langinfo_l F
GLIBC_2.29 nrand48 F
GLIBC_2.29 nrand48_r F
GLIBC_2.29 ns_name_ntop F
GLIBC_2.29 ns_name_unpack F
GLIBC_2.29 ntohl F
GLIBC_2.29 ntohs F
GLIBC_2.29 ntp_adjtime F
@ -2479,6 +2480,7 @@ 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 ns_name_unpack F
GLIBC_2.34 openpty F
GLIBC_2.34 posix_spawn_file_actions_addclosefrom_np F
GLIBC_2.34 pthread_attr_getaffinity_np F

View File

@ -65,7 +65,6 @@ GLIBC_2.29 ns_name_pton F
GLIBC_2.29 ns_name_rollback F
GLIBC_2.29 ns_name_skip F
GLIBC_2.29 ns_name_uncompress F
GLIBC_2.29 ns_name_unpack F
GLIBC_2.29 ns_parse_ttl F
GLIBC_2.29 ns_parserr F
GLIBC_2.29 ns_put16 F