Bug 796683

Summary: Compile with -fno-strict-aliasing to avoid possible run-time errors
Product: Red Hat Enterprise Linux 6 Reporter: Ondrej Moriš <omoris>
Component: openswanAssignee: Paul Wouters <pwouters>
Status: CLOSED ERRATA QA Contact: Ondrej Moriš <omoris>
Severity: low Docs Contact:
Priority: medium    
Version: 6.2CC: eparis
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-21 23:41:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Ondrej Moriš 2012-02-23 13:25:26 UTC
Description of problem:

RPMdiff suggest using of -fno-strict-aliasing compiler option to avoid possible run-time errors or crashes. In order to take this warning seriously, please consider using this option.

Version-Release number of selected component (if applicable):

openswan-2.6.32-10.el6_2

How reproducible:

100%

Steps to Reproduce:

1. Schedule RPMdiff run
  
Actual results:

Test-suite regression RPMdiff test fails.

Expected results:

Test-suite regression RPMdif test passes.

Additional info:

https://errata.devel.redhat.com/rpmdiff/show/57108?result_id=983221

Comment 1 RHEL Program Management 2012-05-03 05:41:16 UTC
Since RHEL 6.3 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.

Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.

Comment 2 Paul Wouters 2013-04-19 18:10:10 UTC
I will add -fno-strict-aliasing -Wformat-nonliteral -Wformat-security

Comment 8 Paul Wouters 2013-07-18 14:14:03 UTC
this was added already in the previous release, 2.6.32-20 for CVE-2013-2053. Should this bug be closed?

Comment 10 Ondrej Moriš 2013-09-30 11:07:35 UTC
A note for QE: There is no need for a standalone test since the fix can be seen directly via RPMdiff.

Comment 12 errata-xmlrpc 2013-11-21 23:41:34 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.

http://rhn.redhat.com/errata/RHBA-2013-1718.html