[Bugs] [Bug 1208118] New: gf_log_inject_timer_event can crash if the passed ctx is null.
bugzilla at redhat.com
bugzilla at redhat.com
Wed Apr 1 12:48:57 UTC 2015
https://bugzilla.redhat.com/show_bug.cgi?id=1208118
Bug ID: 1208118
Summary: gf_log_inject_timer_event can crash if the passed ctx
is null.
Product: GlusterFS
Version: mainline
Component: core
Assignee: bugs at gluster.org
Reporter: hchiramm at redhat.com
CC: bugs at gluster.org, gluster-bugs at redhat.com
Description of problem:
ctx is passed to gf_log_inject_timer_event() and pass through to
__gf_log_inject_timer_event() where the ctx struct members are getting
dereferenced, and can cause crash if the passed ctx is null.
Version-Release number of selected component (if applicable):
GlusterFS 3.6
How reproducible:
N/A
Steps to Reproduce:
N/A
Actual results:
The ctx can be null and can lead to crash.
Expected results:
The ctx need to be checked before dereferencing its members.
--
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