Bug 1332073 - EINVAL errors while aggregating the directory size by quotad
Summary: EINVAL errors while aggregating the directory size by quotad
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: quota
Version: mainline
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Raghavendra G
QA Contact:
URL:
Whiteboard:
Depends On: 1317653
Blocks: 1366746
TreeView+ depends on / blocked
 
Reported: 2016-05-02 05:34 UTC by Raghavendra G
Modified: 2019-12-16 05:44 UTC (History)
7 users (show)

Fixed In Version: glusterfs-3.9.0
Clone Of: 1317653
: 1366746 (view as bug list)
Environment:
Last Closed: 2017-03-27 18:22:15 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)
Good quota test script (60.00 KB, application/x-tar)
2016-06-30 01:22 UTC, Oonkwee Lim
no flags Details

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/


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