Bug 1399196

Summary: use attribute(format(printf)) to catch format string errors at compile time
Product: [Community] GlusterFS Reporter: Kaleb KEITHLEY <kkeithle>
Component: eventsapiAssignee: Kaleb KEITHLEY <kkeithle>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: urgent Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs, mzywusko, nchilaka, pkarampu, rgowdapp, rhs-bugs, storage-qa-internal, vbellur
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.11.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1386097 Environment:
Last Closed: 2017-05-30 18:37:22 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: 1385606, 1386097    
Bug Blocks: 1396778    

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/