[Bugme-janitors] [Bug 9580] New: Dereferencing NULL pointer on kernel/irq/manage.c

bugme-daemon at bugzilla.kernel.org bugme-daemon at bugzilla.kernel.org
Sat Dec 15 16:56:21 PST 2007


http://bugzilla.kernel.org/show_bug.cgi?id=9580

           Summary: Dereferencing NULL pointer on kernel/irq/manage.c
           Product: IO/Storage
           Version: 2.5
     KernelVersion: 2.6.23
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Other
        AssignedTo: io_other at kernel-bugs.osdl.org
        ReportedBy: marciobuss at gmail.com


There's a potential null pointer dereference on kernel/irq/manage.c.
The error can be tracked down as follows:

(1) assume the "if" statement at line 334 is true
(2) let the first conjunct "desc->chip" on the "if" statement at line
    335 be false, which means "desc->chip" points-to null and
    also signifies that the "if" statement evaluates to false.
(3) the else statement starting at line 338 executes, which
    means "printk" prints "unknown" as its last word
(4) let the "if" statement on line 353 be true
(5) now "desc->chip" is dereferenced at line 356 although it is null.


-- 
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