summaryrefslogtreecommitdiffstats
path: root/xlators/protocol/server/src/server.c
diff options
context:
space:
mode:
authorXavier Hernandez <jahernan@redhat.com>2017-12-15 12:37:06 +0100
committerXavier Hernandez <jahernan@redhat.com>2017-12-15 12:43:32 +0100
commit238ebd4db6b399eba221516912cab0726949a3c9 (patch)
treecdde88cfcb5b76b1aff7f86030c660ce3665834d /xlators/protocol/server/src/server.c
parent62ca4aec69b206723f809ce79bb501fa7bf46249 (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 'xlators/protocol/server/src/server.c')
0 files changed, 0 insertions, 0 deletions