[PATCH v1 3/3] Add _FORTIFY_SOURCE support for inet_ntop

Florian Weimer fweimer@redhat.com
Wed Mar 19 18:27:59 GMT 2025


* Frédéric Bérat:

> - 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

This version looks okay to me.

Reviewed-by: Florian Weimer <fweimer@redhat.com>

Thanks,
Florian



More information about the Libc-alpha mailing list