Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 169384

Summary: sys-auth/pam_ldap-183: FEATURES=stricter QA: poor programming practices: am_ldap.c:2282: warning: dereferencing type-punned pointer will break strict-aliasing rules
Product: Gentoo Linux Reporter: Jan Kundrát (RETIRED) <jkt>
Component: New packagesAssignee: PAM Gentoo Team (OBSOLETE) <pam-bugs+disabled>
Status: RESOLVED UPSTREAM    
Severity: normal Keywords: NeedPatch
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jan Kundrát (RETIRED) gentoo-dev 2007-03-05 00:21:06 UTC
Fails with FEATURES=stricter:

>>> Completed installing pam_ldap-183 into /var/tmp/portage/sys-auth/pam_ldap-183/image/

ecompressdir: bzip2 -9 /usr/share/man/man5
strip: i686-pc-linux-gnu-strip --strip-unneeded
   lib/security/pam_ldap.so

 * QA Notice: Package has poor programming practices which may compile
 *            fine but exhibit random runtime failures.
 * pam_ldap.c:2282: warning: dereferencing type-punned pointer will break strict-aliasing rules
pam_ldap.c:2670: warning: dereferencing type-punned pointer will break strict-aliasing rules
pam_ldap.c:3145: warning: dereferencing type-punned pointer will break strict-aliasing rules
pam_ldap.c:3241: warning: dereferencing type-punned pointer will break strict-aliasing rules
pam_ldap.c:3269: warning: dereferencing type-punned pointer will break strict-aliasing rules
pam_ldap.c:3368: warning: dereferencing type-punned pointer will break strict-aliasing rules
pam_ldap.c:3377: warning: dereferencing type-punned pointer will break strict-aliasing rules
pam_ldap.c:3388: warning: dereferencing type-punned pointer will break strict-aliasing rules
pam_ldap.c:3425: warning: dereferencing type-punned pointer will break strict-aliasing rules
pam_ldap.c:3530: warning: dereferencing type-punned pointer will break strict-aliasing rules
pam_ldap.c:3545: warning: dereferencing type-punned pointer will break strict-aliasing rules
pam_ldap.c:3762: warning: dereferencing type-punned pointer will break strict-aliasing rules
pam_ldap.c:3771: warning: dereferencing type-punned pointer will break strict-aliasing rules
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2007-09-18 23:22:40 UTC
Patch please.