[Bugs] [Bug 789278] Issues reported by Coverity static analysis tool

bugzilla at redhat.com bugzilla at redhat.com
Wed Sep 5 02:20:59 UTC 2018


https://bugzilla.redhat.com/show_bug.cgi?id=789278



--- Comment #1441 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/21044 committed in master by "Atin
Mukherjee" <amukherj at redhat.com> with a commit message- 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 at redhat.com>

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Bugs mailing list