Description of problem: 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 Additional info: Fixed upstream: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=fcfc9086815bf0d277ad47a90ee3fda4c37acca8
Can we backport the fix to the 2.34 upstream branch? Thanks.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (glibc bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2022:8272