Bug 587546

Summary: prlink.h gives warning with -Wstrict-prototypes
Product: Red Hat Enterprise Linux 5 Reporter: RHEL Program Management <pm-rhel>
Component: nssAssignee: Elio Maldonado Batiz <emaldona>
Status: CLOSED ERRATA QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: low Docs Contact:
Priority: high    
Version: 5.2CC: amarecek, avagarwa, bkahn, bstein, ccaulfie, dhorak, ebenes, emaldona, iboverma, kengert, mprpic, notting, ohudlick, ovasik, plyons, pm-eus, rrelyea, sgrubb, syeghiay, tao, tis, tsmetana
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: nss-3.12.6-2.el5_5 Doc Type: Bug Fix
Doc Text:
A header, 'prlink.h', caused compiler warnings when it was included in an application built with the strict prototype checking enabled (i.e. when "-Wstrict-prototypes" was included in the 'CFLAGS'). If such warnings were treated as errors in the compiler flags (i.e. if "-Werror" was used), the affected application would not compile. The affected applications did not, in fact, need 'prlink.h', they were including it indirectly via another header. This update fixes the header so that it does not expose the faulty header and enables nss client software to build with strict prototype checking enabled, as expected.
Story Points: ---
Clone Of:
: 590145 590734 (view as bug list) Environment:
Last Closed: 2010-07-12 13:16:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 453577    
Bug Blocks: 575157, 590145, 590734    

Description RHEL Program Management 2010-04-30 08:42:37 UTC
This bug has been copied from bug #453577 and has been proposed
to be backported to 5.5 z-stream (EUS).

Comment 5 Lon Hohberger 2010-05-03 15:24:35 UTC
*** Bug 586034 has been marked as a duplicate of this bug. ***

Comment 6 Lon Hohberger 2010-05-03 15:24:45 UTC
*** Bug 586035 has been marked as a duplicate of this bug. ***

Comment 12 Martin Prpič 2010-07-09 06:24:26 UTC
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.

New Contents:
A header, 'prlink.h', caused compiler warnings when it was included in an application built with the strict prototype checking enabled (i.e. when "-Wstrict-prototypes" was included in the 'CFLAGS'). If such warnings were treated as errors in the compiler flags (i.e. if "-Werror" was used), the affected application would not compile. The affected applications did not, in fact, need 'prlink.h', they were including it indirectly via another header. This update fixes the header so that it does not expose the faulty header and enables nss client software to build with strict prototype checking enabled, as expected.

Comment 14 errata-xmlrpc 2010-07-12 13:16:15 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2010-0526.html