Bug 1332073

Summary: EINVAL errors while aggregating the directory size by quotad
Product: [Community] GlusterFS Reporter: Raghavendra G <rgowdapp>
Component: quotaAssignee: Raghavendra G <rgowdapp>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: urgent Docs Contact:
Priority: unspecified    
Version: mainlineCC: amukherj, bugs, olim, rabhat, smohan, storage-qa-internal, vbellur
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: glusterfs-3.9.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1317653
: 1366746 (view as bug list) Environment:
Last Closed: 2017-03-27 18:22:15 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: 1317653    
Bug Blocks: 1366746    
Attachments:
Description Flags
Good quota test script none

Comment 1 Vijay Bellur 2016-05-02 05:35:07 UTC
REVIEW: http://review.gluster.org/14102 (quotad: fix potential buffer overflows) posted (#4) for review on master by Raghavendra G (rgowdapp)

Comment 2 Vijay Bellur 2016-05-02 07:04:00 UTC
REVIEW: http://review.gluster.org/14102 (quotad: fix potential buffer overflows) posted (#5) for review on master by Raghavendra G (rgowdapp)

Comment 3 Vijay Bellur 2016-05-02 08:46:42 UTC
REVIEW: http://review.gluster.org/14102 (quotad: fix potential buffer overflows) posted (#6) for review on master by Raghavendra G (rgowdapp)

Comment 4 Vijay Bellur 2016-05-02 09:07:25 UTC
REVIEW: http://review.gluster.org/14102 (quotad: fix potential buffer overflows) posted (#7) for review on master by Raghavendra G (rgowdapp)

Comment 5 Vijay Bellur 2016-05-03 04:47:59 UTC
REVIEW: http://review.gluster.org/14102 (quotad: fix potential buffer overflows) posted (#8) for review on master by Raghavendra G (rgowdapp)

Comment 6 Vijay Bellur 2016-05-06 06:57:56 UTC
REVIEW: http://review.gluster.org/14102 (quotad: fix potential buffer overflows) posted (#9) for review on master by Raghavendra G (rgowdapp)

Comment 7 Vijay Bellur 2016-05-06 09:52:36 UTC
REVIEW: http://review.gluster.org/14237 (quotad: fix potential buffer overflows) posted (#1) for review on master by Raghavendra G (rgowdapp)

Comment 8 Vijay Bellur 2016-05-06 09:59:54 UTC
REVIEW: http://review.gluster.org/14238 (quotad: fix potential buffer overflows) posted (#1) for review on master by Raghavendra G (rgowdapp)

Comment 11 Oonkwee Lim 2016-06-30 01:22:56 UTC
Created attachment 1174290 [details]
Good quota test script

Comment 12 Worker Ant 2016-08-25 06:42:14 UTC
REVIEW: http://review.gluster.org/14102 (quotad: fix potential buffer overflows) posted (#10) for review on master by Manikandan Selvaganesh (mselvaga)

Comment 13 Worker Ant 2016-08-25 12:18:14 UTC
COMMIT: http://review.gluster.org/14102 committed in master by Raghavendra G (rgowdapp) 
------
commit c68b561f048a02f479819b1c9cb3b5b896db18a6
Author: Raghavendra G <rgowdapp>
Date:   Fri May 6 12:26:29 2016 +0530

    quotad: fix potential buffer overflows
    
    This converts sprintf to gf_asprintf in following components:                                                                                                          * quotad.c
    * dht
    * afr
    * protocol/client
    * rpc/rpc-lib
    * rpc/rpc-transport
    
    Change-Id: If8a267bab3d91003bdef3a92664077a0136745ee
    BUG: 1332073
    Signed-off-by: Raghavendra G <rgowdapp>
    Reviewed-on: http://review.gluster.org/14102
    Tested-by: Manikandan Selvaganesh <mselvaga>
    Smoke: Gluster Build System <jenkins.org>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    CentOS-regression: Gluster Build System <jenkins.org>
    Reviewed-by: Manikandan Selvaganesh <mselvaga>

Comment 15 Shyamsundar 2017-03-27 18:22:15 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.9.0, please open a new bug report.

glusterfs-3.9.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/gluster-users/2016-November/029281.html
[2] https://www.gluster.org/pipermail/gluster-users/