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

bugzilla at redhat.com bugzilla at redhat.com
Fri Oct 12 02:11:37 UTC 2018


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

Worker Ant <bugzilla-bot at gluster.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|POST                        |MODIFIED



--- Comment #47 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/21393 committed in master by "Shwetha K
Acharya" <shwetha174 at gmail.com> with a commit message-
performance/write-behind: NULL pointer passed to a nonnull parameter

Problem: wb_directory_inode->lock can be null.

Solution: added a condition, if(!wb_directory_inode->lock.spinlock)
to address the issue (checked one of the attributes of union lock
to ensure that union is not null).

Updates: bz#1622665
Change-Id: I0749ee16aa2c23f51d4b4c7b0979d494bcd4d90e
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