[Bugs] [Bug 1622665] clang-scan report: glusterfs issues

bugzilla at redhat.com bugzilla at redhat.com
Fri Oct 12 03:14:46 UTC 2018


--- Comment #48 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/21311 committed in master by "Atin
Mukherjee" <amukherj at redhat.com> with a commit message- mgmt/glusterd: NULL
pointer dereferencing clang fix

Problem: dereferencing of this->name; volinfo and xl
can be null.

Solution: Replaced this->name with apropriate names in few places,
added a null check to avoid dereferencing of volinfo,
and introduced a goto out statement, such that null pointer value is
not passed to the function volgen_xlator_link when xl becomes NULL.

Updates: bz#1622665

Change-Id: I77616bd23f58328cb6dbe681914a028991d49abb
Signed-off-by: Shwetha Acharya <sacharya at redhat.com>

You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

More information about the Bugs mailing list