Bug 2086853 - glibc: Ensure that fortification condition checks are constant
Summary: glibc: Ensure that fortification condition checks are constant
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: glibc
Version: 8.7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Siddhesh Poyarekar
QA Contact: Martin Coufal
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-16 16:56 UTC by Siddhesh Poyarekar
Modified: 2023-07-18 14:30 UTC (History)
9 users (show)

Fixed In Version: glibc-2.28-202.el8
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-11-08 10:43:12 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-122267 0 None None None 2022-05-16 17:03:23 UTC
Red Hat Product Errata RHBA-2022:7684 0 None None None 2022-11-08 10:43:40 UTC
Sourceware 29141 0 P2 RESOLVED _FORTIFY_SOURCE=3 fail for gcc 12/glibc 2.35 2022-05-16 16:56:31 UTC

Description Siddhesh Poyarekar 2022-05-16 16:56:31 UTC
Description of problem:
Patch backported for bug 2072329 makes the condition for fortification more complex for the compiler to fold away, resulting in the branch existing until late in the compilation process and sometimes producing spurious warnings in dead code.  This affected elfutils build upstream:

https://sourceware.org/bugzilla/show_bug.cgi?id=29141

Comment 6 errata-xmlrpc 2022-11-08 10:43:12 UTC
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:7684


Note You need to log in before you can comment on or make changes to this bug.