Bug 1037725 - pam_pkcs11: compile with fortify hardening
Summary: pam_pkcs11: compile with fortify hardening
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: pam_pkcs11
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Bob Relyea
QA Contact: Asha Akkiangady
URL:
Whiteboard:
Depends On:
Blocks: 1037724 1040467
TreeView+ depends on / blocked
 
Reported: 2013-12-03 16:39 UTC by Florian Weimer
Modified: 2015-03-05 11:05 UTC (History)
2 users (show)

Fixed In Version: pam_pkcs11-0.6.2-14.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-05 11:05:32 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:0507 0 normal SHIPPED_LIVE pam_pkcs11 bug fix update 2015-03-05 15:54:30 UTC

Description Florian Weimer 2013-12-03 16:39:49 UTC
The spec file explicitly specifies -O0, so parts of -D_FORTIFY_SOURCE=2 are not effective:

make CFLAGS="$RPM_OPT_FLAGS -O0 -ggdb3" 

-ggdb3 is probably outdated as well.

Comment 3 Roshni 2014-10-31 20:52:29 UTC
Verified by checking the spec file of pam_pkcs11-0.6.2-18.el7.src.rpm

spec file does not have
make CFLAGS="$RPM_OPT_FLAGS -O0 -ggdb3" 

instead has 
make CFLAGS="$RPM_OPT_FLAGS"

Comment 5 errata-xmlrpc 2015-03-05 11:05:32 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, 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://rhn.redhat.com/errata/RHBA-2015-0507.html


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