[Bugme-janitors] [Bug 9567] New: NULL pointer dereference on file drivers/video/w100fb.c

bugme-daemon at bugzilla.kernel.org bugme-daemon at bugzilla.kernel.org
Fri Dec 14 15:38:20 PST 2007


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

           Summary: NULL pointer dereference on file drivers/video/w100fb.c
           Product: Drivers
           Version: 2.5
     KernelVersion: 2.6.23
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Video(Other)
        AssignedTo: drivers_video-other at kernel-bugs.osdl.org
        ReportedBy: marciobuss at gmail.com


On file /drivers/video/w100fb.c there is a null pointer dereference.
There are many paths to the error. One example path is as follows:

(1) The condition at line 643 is true
(2) the statement "goto out" at line 644 is then executed, making
    the program to jump to line 767
(3) the expression fb_dealloc_cmap(&info->cmap) takes place with a
    null pointer "info".

Another path, which makes the error even more apparent, is: 

(1) The condition at line 671, "if (!info)" is true
(2) the statement "goto out" at line 673 is executed
(3) the program jumps to line 767, and the same error occurs.


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