mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +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:
@ -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;
|
||||
|
Reference in New Issue
Block a user