Bug 1162587

Summary: libbsd: missing format string annotations
Product: [Fedora] Fedora Reporter: Florian Weimer <fweimer>
Component: libbsdAssignee: Davide Cavalca <davide>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: azelinka, jgrulich, jscotka, qe-baseos-daemons, sam, spacewar
Target Milestone: ---Keywords: FutureFeature, Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1032529 Environment:
Last Closed: 2016-07-19 20:29:29 UTC Type: Bug
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:    
Bug Blocks: 1032518, 1731545    

Description Florian Weimer 2014-11-11 11:13:18 UTC
The functions warnc, errc in bsd/err.h should have printf format string annotations, so that GCC can warn about their misuse.

setproctitle in bsd/unistd.h should should have a format string, too.

It seems the __printflike macro already provides a means to achieve this.

Comment 1 Jaroslav Reznik 2015-03-03 16:29:28 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle.
Changing version to '22'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22

Comment 2 Eric Smith 2015-03-06 04:54:35 UTC
It would be best if this was addressed by upstream. I'll inquire about it. Aside from that, patches are welcome.

Comment 3 Fedora End Of Life 2016-07-19 20:29:29 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 4 Fedora Admin user for bugzilla script actions 2025-05-07 03:06:39 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 5 Fedora Admin user for bugzilla script actions 2025-05-07 16:31:53 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.