Description of problem: A buffer overflow cases a segmentation fault when executing 'gluster volume set help'. Version-Release number of selected component (if applicable): master How reproducible: always if the size of the help is bigger than 51200 bytes. Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
REVIEW: https://review.gluster.org/19040 (glusterd: Fix buffer overflow in glusterd_get_volopt_content) posted (#1) for review on master by Xavier Hernandez
COMMIT: https://review.gluster.org/19040 committed in master by \"Xavier Hernandez\" <jahernan> with a commit message- glusterd: Fix buffer overflow in glusterd_get_volopt_content The size of the description of each option in gluster has become greater than the hardcoded maximum size, causing a buffer overflow when requesting a list of all options. This patch uses dynamic memory to store all the information. Change-Id: I115cb9b55fc440434638bf468a50db055cdf271d BUG: 1526402 Signed-off-by: Xavier Hernandez <jahernan>
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-4.0.0, please open a new bug report. glusterfs-4.0.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/2018-March/000092.html [2] https://www.gluster.org/pipermail/gluster-users/