diff options
author | Xavier Hernandez <jahernan@redhat.com> | 2017-12-15 12:37:06 +0100 |
---|---|---|
committer | Xavier Hernandez <jahernan@redhat.com> | 2017-12-15 12:43:32 +0100 |
commit | 238ebd4db6b399eba221516912cab0726949a3c9 (patch) | |
tree | cdde88cfcb5b76b1aff7f86030c660ce3665834d /tools | |
parent | 62ca4aec69b206723f809ce79bb501fa7bf46249 (diff) |
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@redhat.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions