[Bug network/33227] namespace violation in inet-fortified.h
sam at gentoo dot org
sourceware-bugzilla@sourceware.org
Mon Jul 28 20:53:22 GMT 2025
https://sourceware.org/bugzilla/show_bug.cgi?id=33227
--- Comment #1 from Sam James <sam at gentoo dot org> ---
commit e3a6e85d67f1a48dec3e2557a83d6ce1544a58cb
Author: Aaron Merey <amerey@redhat.com>
AuthorDate: Thu Mar 20 13:13:33 2025 -0400
Commit: Aaron Merey <amerey@redhat.com>
CommitDate: Mon Mar 24 14:43:03 2025 -0400
Add _FORTIFY_SOURCE support for inet_pton
Add function __inet_pton_chk which calls __chk_fail when the size of
argument dst is too small. inet_pton is redirected to __inet_pton_chk
or __inet_pton_warn when _FORTIFY_SOURCE is > 0.
Also add tests to debug/tst-fortify.c, update the abilist with
__inet_pton_chk and mention inet_pton fortification in maint.texi.
Co-authored-by: Frédéric Bérat <fberat@redhat.com>
Reviewed-by: Florian Weimer <fweimer@redhat.com>
commit a71db81ed1353edd00ca2901d2fefd98c53209d3
Author: Aaron Merey <amerey@redhat.com>
AuthorDate: Thu Mar 20 11:07:05 2025 -0400
Commit: Aaron Merey <amerey@redhat.com>
CommitDate: Mon Mar 24 14:43:03 2025 -0400
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>
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list