mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Add _FORTIFY_SOURCE support for inet_ntop
- Create the __inet_ntop_chk routine that verifies that the builtin size of the destination buffer is at least as big as the size given by the user. - Redirect calls from inet_ntop to __inet_ntop_chk or __inet_ntop_warn - Update the abilist for this new routine - Update the manual to mention the new fortification Reviewed-by: Florian Weimer <fweimer@redhat.com>
This commit is contained in:
@ -2911,6 +2911,7 @@ GLIBC_2.4 unlinkat F
|
||||
GLIBC_2.4 unshare F
|
||||
GLIBC_2.41 sched_getattr F
|
||||
GLIBC_2.41 sched_setattr F
|
||||
GLIBC_2.42 __inet_ntop_chk F
|
||||
GLIBC_2.42 pthread_gettid_np F
|
||||
GLIBC_2.5 __readlinkat_chk F
|
||||
GLIBC_2.5 inet6_opt_append F
|
||||
|
@ -2909,6 +2909,7 @@ GLIBC_2.4 unlinkat F
|
||||
GLIBC_2.4 unshare F
|
||||
GLIBC_2.41 sched_getattr F
|
||||
GLIBC_2.41 sched_setattr F
|
||||
GLIBC_2.42 __inet_ntop_chk F
|
||||
GLIBC_2.42 pthread_gettid_np F
|
||||
GLIBC_2.5 __readlinkat_chk F
|
||||
GLIBC_2.5 inet6_opt_append F
|
||||
|
Reference in New Issue
Block a user