diff options
author | Dmitry Antipov <dmantipov@yandex.ru> | 2020-05-22 11:27:29 +0300 |
---|---|---|
committer | Sanju Rakonde <sanjurakonde@review.gluster.org> | 2020-05-31 18:37:16 +0000 |
commit | 4ccd078a00403e526b5406226e0661d217f49545 (patch) | |
tree | d0846365ab2c760d39a4561423e2f0c0d40b1913 /COPYING-LGPLV3 | |
parent | eaf126f4b06a842977c1932ce699c4d76421a4b2 (diff) | |
download | glusterfs-4ccd078a00403e526b5406226e0661d217f49545.tar.gz glusterfs-4ccd078a00403e526b5406226e0661d217f49545.tar.xz glusterfs-4ccd078a00403e526b5406226e0661d217f49545.zip |
cli: fix memory leak in gf_cli_gsync_status_output()
In gf_cli_gsync_status_output(), call to gf_cli_read_status_data()
overwrites 'sts_vals' pointers to areas allocated by GF_CALLOC()
with pointers to dict data, thus making the allocated areas not
accessible.
Change-Id: I00c310aec1a1413caf13ade14dc4fed37b51962c
Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru>
Fixes: #1259
Diffstat (limited to 'COPYING-LGPLV3')
0 files changed, 0 insertions, 0 deletions