[Bugs] [Bug 789278] Issues reported by Coverity static analysis tool
bugzilla at redhat.com
bugzilla at redhat.com
Fri Apr 7 03:48:11 UTC 2017
https://bugzilla.redhat.com/show_bug.cgi?id=789278
--- Comment #870 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/16739 committed in master by Pranith Kumar
Karampuri (pkarampu at redhat.com)
------
commit c932c0df4b70abaa85354e56efe6f1ce88ce4a38
Author: Michael Scherer <misc at redhat.com>
Date: Thu Feb 23 21:26:33 2017 +0100
shared: simplify and fix crash when we run out of memory
Since mem_get0 can return NULL, local->op_ret is gonna
crash. Found by coverity. And since we only have ENOMEM
as potential error, we can also simplify the code by avoiding
using 'local' for that.
Change-Id: I778747b57f520b1a52347c0fc9f27efd7a7c5ca0
BUG: 789278
Signed-off-by: Michael Scherer <misc at redhat.com>
Reviewed-on: https://review.gluster.org/16739
Smoke: Gluster Build System <jenkins at build.gluster.org>
Tested-by: Michael Scherer <misc at fedoraproject.org>
NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
Reviewed-by: Vijay Bellur <vbellur at redhat.com>
Reviewed-by: Krutika Dhananjay <kdhananj at redhat.com>
Reviewed-by: Pranith Kumar Karampuri <pkarampu at redhat.com>
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Bugs
mailing list