[Bug libc/28746] New: _FORTIFY_SOURCE does not work for stpcpy
siddhesh at sourceware dot org
sourceware-bugzilla@sourceware.org
Tue Jan 4 19:27:30 GMT 2022
https://sourceware.org/bugzilla/show_bug.cgi?id=28746
Bug ID: 28746
Summary: _FORTIFY_SOURCE does not work for stpcpy
Product: glibc
Version: 2.35
Status: NEW
Severity: normal
Priority: P2
Component: libc
Assignee: siddhesh at sourceware dot org
Reporter: siddhesh at sourceware dot org
CC: drepper.fsp at gmail dot com
Target Milestone: ---
The definition for the fortified version of stpcpy and a few other functions
are incorrectly under __USE_GNU when they should be under __USE_XOPEN2K8
because of which, they don't get fortified when _GNU_SOURCE is not defined.
See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89748
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list