]> git.ipfire.org Git - thirdparty/glibc.git/commit
Prepare inet_pton to be fortified
authorAaron Merey <amerey@redhat.com>
Thu, 20 Mar 2025 15:07:05 +0000 (11:07 -0400)
committerAaron Merey <amerey@redhat.com>
Mon, 24 Mar 2025 18:43:03 +0000 (14:43 -0400)
commita71db81ed1353edd00ca2901d2fefd98c53209d3
treee966a45972dd612f9f5816c705728f8bd1b54b9d
parent2fb0009ff1994db2848fd2becd9e7eaaefd7b673
Prepare inet_pton to be fortified

Split inet_pton internals such as __inet_pton_length from the
inet_pton entry point.

This allows the internals to be built with fortification while
leaving the inet_pton entry point unchanged.

Co-authored-by: Frédéric Bérat <fberat@redhat.com>
Reviewed-by: Florian Weimer <fweimer@redhat.com>
resolv/Makefile
resolv/inet_pton.c
resolv/inet_pton_length.c [new file with mode: 0644]