diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-07-19 07:55:27 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-07-19 07:56:13 +0200 |
commit | cff2c78c513ef8d51e69a6933f1c6aef8a24a6d6 (patch) | |
tree | c02340cf73c5d1a9ff330ef9e6e3766ddd09c0b7 /resolv/Versions | |
parent | 248dbed1187038918d79f62cd9cf631f4150c2a0 (diff) | |
download | glibc-cff2c78c513ef8d51e69a6933f1c6aef8a24a6d6.tar.gz glibc-cff2c78c513ef8d51e69a6933f1c6aef8a24a6d6.tar.xz glibc-cff2c78c513ef8d51e69a6933f1c6aef8a24a6d6.zip |
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>
Diffstat (limited to 'resolv/Versions')
-rw-r--r-- | resolv/Versions | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/resolv/Versions b/resolv/Versions index 9b5c4d9733..b075881b24 100644 --- a/resolv/Versions +++ b/resolv/Versions @@ -26,6 +26,7 @@ libc { } GLIBC_2.9 { ns_name_ntop; + ns_name_skip; ns_name_unpack; } GLIBC_2.34 { @@ -36,6 +37,7 @@ libc { getaddrinfo_a; %endif ns_name_ntop; + ns_name_skip; ns_name_unpack; } GLIBC_PRIVATE { @@ -45,9 +47,10 @@ libc { __h_errno; __inet_aton_exact; __inet_pton_length; - __res_iclose; __ns_name_ntop; + __ns_name_skip; __ns_name_unpack; + __res_iclose; __resolv_context_get; __resolv_context_get_override; __resolv_context_get_preinit; |