1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-01 10:06:57 +03:00

resolv: Move ns_name_skip to its own file and into libc (bug 28091)

And reformat to GNU style.  Avoid out-of-bounds pointer arithmetic.
This also results in a fix of bug 28091 due to the additional packet
length checks.

The symbol was moved using scripts/move-symbol-to-libc.py.

Reviewed-by: Carlos O'Donell <carlos@systemhalted.org>
This commit is contained in:
Florian Weimer
2021-07-19 07:55:27 +02:00
parent 248dbed118
commit cff2c78c51
69 changed files with 143 additions and 70 deletions

View File

@ -1339,6 +1339,7 @@ GLIBC_2.32 nl_langinfo_l F
GLIBC_2.32 nrand48 F
GLIBC_2.32 nrand48_r F
GLIBC_2.32 ns_name_ntop F
GLIBC_2.32 ns_name_skip F
GLIBC_2.32 ns_name_unpack F
GLIBC_2.32 ntohl F
GLIBC_2.32 ntohs F
@ -2214,6 +2215,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_skip F
GLIBC_2.34 ns_name_unpack F
GLIBC_2.34 openpty F
GLIBC_2.34 posix_spawn_file_actions_addclosefrom_np F

View File

@ -63,7 +63,6 @@ GLIBC_2.32 ns_name_ntol F
GLIBC_2.32 ns_name_pack F
GLIBC_2.32 ns_name_pton F
GLIBC_2.32 ns_name_rollback F
GLIBC_2.32 ns_name_skip F
GLIBC_2.32 ns_name_uncompress F
GLIBC_2.32 ns_parse_ttl F
GLIBC_2.32 ns_parserr F