[Bugme-janitors] [Bug 9575] NULL pointer dereference on
kernel/auditsc.c
bugme-daemon at bugzilla.kernel.org
bugme-daemon at bugzilla.kernel.org
Sat Dec 15 13:17:41 PST 2007
http://bugzilla.kernel.org/show_bug.cgi?id=9575
------- Comment #1 from marciobuss at gmail.com 2007-12-15 13:17 -------
Not sure if "process management" is the right place to report this, but
there's a null pointer dereference on kernel/auditsc.c as follows:
(1) assume the condition on line 1995 is true
(2) assume the condition on line 1996 is also true
(3) assume the test "if (ctxt)" at line 1998 evaluates to
false, which implies that "ctx" is null
(4) assume that the condition at line 2004 is false so
that we don't return
(5) then the expression "if (!ctx->target_pid)" (line 2010)
is executed with a "ctx" pointer that's null.
This is a false alarm only if "ctx" is never null. But then the test
"if (ctx)" at line 1998 is bogus (which means some code change is
needed).
--
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Bugme-janitors
mailing list