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 /sysdeps/unix/sysv/linux/m68k | |
parent | 248dbed1187038918d79f62cd9cf631f4150c2a0 (diff) | |
download | glibc-cff2c78c513ef8d51e69a6933f1c6aef8a24a6d6.tar glibc-cff2c78c513ef8d51e69a6933f1c6aef8a24a6d6.tar.gz glibc-cff2c78c513ef8d51e69a6933f1c6aef8a24a6d6.tar.bz2 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 'sysdeps/unix/sysv/linux/m68k')
4 files changed, 4 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist b/sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist index 4036b8c739..6d0e4f6609 100644 --- a/sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist +++ b/sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist @@ -347,6 +347,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 @@ -2663,5 +2664,6 @@ 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 ns_name_skip F GLIBC_2.9 ns_name_unpack F GLIBC_2.9 pipe2 F diff --git a/sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist b/sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist index b65f928a24..95f13ba713 100644 --- a/sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist +++ b/sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist @@ -75,7 +75,6 @@ GLIBC_2.9 ns_name_ntol F GLIBC_2.9 ns_name_pack F GLIBC_2.9 ns_name_pton F GLIBC_2.9 ns_name_rollback F -GLIBC_2.9 ns_name_skip F GLIBC_2.9 ns_name_uncompress F GLIBC_2.9 ns_parse_ttl F GLIBC_2.9 ns_parserr F diff --git a/sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist b/sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist index fb9964f928..e7e115b594 100644 --- a/sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist +++ b/sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist @@ -2558,6 +2558,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 @@ -2825,5 +2826,6 @@ 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 ns_name_skip F GLIBC_2.9 ns_name_unpack F GLIBC_2.9 pipe2 F diff --git a/sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist b/sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist index 65c4147299..28c1c23789 100644 --- a/sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist +++ b/sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist @@ -80,7 +80,6 @@ GLIBC_2.9 ns_name_ntol F GLIBC_2.9 ns_name_pack F GLIBC_2.9 ns_name_pton F GLIBC_2.9 ns_name_rollback F -GLIBC_2.9 ns_name_skip F GLIBC_2.9 ns_name_uncompress F GLIBC_2.9 ns_parse_ttl F GLIBC_2.9 ns_parserr F |