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

bugzilla at redhat.com bugzilla at redhat.com
Tue Dec 19 13:26:06 UTC 2017


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



--- Comment #1233 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/18622 committed in master by \"Xavier
Hernandez\" <jahernan at redhat.com> with a commit message- cli: Fixed coverity
issue in cli-cmd-system.c

This patch adds a missing check of the return value of strtok_r()
and returns an error if it's NULL.

It also fixes a couple of leaks.

Change-Id: Ib15d6f843516e44c3bd8790a2e3ad936e357f6d4
BUG: 789278
Signed-off-by: Xavier Hernandez <jahernan at redhat.com>

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


More information about the Bugs mailing list