summaryrefslogtreecommitdiffstats
path: root/glusterfsd
diff options
context:
space:
mode:
authorSunny Kumar <sunkumar@redhat.com>2018-08-30 16:09:04 +0530
committerAtin Mukherjee <amukherj@redhat.com>2018-09-05 04:42:09 +0000
commit0590678d05473d40c8107be8cf5a66879f9d196f (patch)
treedc2fc456272fafa35622f3aa98fdf080a59c21a5 /glusterfsd
parent33128ef59a05f2c31c0f51919c5dd7746cebd6ef (diff)
cli : fix coverity issue in cli-cmd-parser.c
This patch fixes 1175017 and 1382401. This patch fixes resource leak by validating brick_count is valid or not. If brick_count is not valid we are coming out in "cli_cmd_bricks_parse" without allocating memory to "brick_str" which is eventually pointed by bricks. Change-Id: I8ed0f29495379ec49484c5c4069865db3653506f updates: bz#789278 Signed-off-by: Sunny Kumar <sunkumar@redhat.com>
Diffstat (limited to 'glusterfsd')
0 files changed, 0 insertions, 0 deletions