Bug 1399196 - use attribute(format(printf)) to catch format string errors at compile time
Summary: use attribute(format(printf)) to catch format string errors at compile time
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: eventsapi
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
Assignee: Kaleb KEITHLEY
QA Contact:
URL:
Whiteboard:
Depends On: 1385606 1386097
Blocks: 1396778
TreeView+ depends on / blocked
 
Reported: 2016-11-28 14:25 UTC by Kaleb KEITHLEY
Modified: 2017-05-30 18:37 UTC (History)
8 users (show)

Fixed In Version: glusterfs-3.11.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1386097
Environment:
Last Closed: 2017-05-30 18:37:22 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Comment 1 Worker Ant 2016-11-28 14:27:13 UTC
REVIEW: http://review.gluster.org/15881 (events: use attribute(format(/printf)) to catch fmt string errors) posted (#3) for review on master by Kaleb KEITHLEY (kkeithle)

Comment 2 Worker Ant 2017-02-26 19:15:18 UTC
COMMIT: https://review.gluster.org/15881 committed in master by Kaleb KEITHLEY (kkeithle) 
------
commit 4638dfc1fee80f9338f2941f3cccb17bec63989a
Author: Kaleb S. KEITHLEY <kkeithle>
Date:   Fri Nov 18 10:05:12 2016 -0500

    events: use attribute(format(/printf)) to catch fmt string errors
    
    and statedump too. Also "const char *" (versus just "char *") for the
    fmt param.
    
    Change-Id: Ic63734a673208a2cd49aebccce7659816e6179e3
    BUG: 1399196
    Signed-off-by: Kaleb S. KEITHLEY <kkeithle>
    Reviewed-on: https://review.gluster.org/15881
    Smoke: Gluster Build System <jenkins.org>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    CentOS-regression: Gluster Build System <jenkins.org>

Comment 3 Shyamsundar 2017-05-30 18:37:22 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.11.0, please open a new bug report.

glusterfs-3.11.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://lists.gluster.org/pipermail/announce/2017-May/000073.html
[2] https://www.gluster.org/pipermail/gluster-users/


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