mirror of
https://sourceware.org/git/glibc.git
synced 2025-12-24 17:51:17 +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:
@@ -2261,4 +2261,5 @@ GLIBC_2.40 setcontext F
|
||||
GLIBC_2.40 swapcontext 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
|
||||
|
||||
Reference in New Issue
Block a user