[ros-bugs] [Bug 5103] New: Possibly uninitialized variables in BootVid.dll (reported by A. Khaldi)

ReactOS.Bugzilla at reactos.org ReactOS.Bugzilla at reactos.org
Wed Jan 6 02:20:41 CET 2010


http://www.reactos.org/bugzilla/show_bug.cgi?id=5103

           Summary: Possibly uninitialized variables in BootVid.dll
                    (reported by A. Khaldi)
           Product: ReactOS
           Version: TRUNK
          Platform: QEmu
        OS/Version: ReactOS
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: Drivers
        AssignedTo: ros-bugs at reactos.org
        ReportedBy: hto at dev.null
         QAContact: ros-bugs at reactos.org


Not to forget this thing...

I. bootvid\i386\vga.c - "LeftArray" array elements might be used uninitialized
in BitBlt().

1 - vga.c:425: BitsPerPixel!=4 is false
2 - vga.c:482: Height<=0 is false
3 - vga.c:574: SomeYesNoFlag2 is true
4 - vga.c:580: DistanceMinusLeftBpp>0 is true
5 - vga.c:587: LeftArray array elements are used uninitialized.

II. bootvid\i386\bootvid.c - "Value" might be used uninitialized in
VgaInterpretCmdStream().

1 - bootvid.c:21: CmdStream is true
2 - bootvid.c:24: *CmdStream is true
3 - bootvid.c:35: Major==16 is false
4 - bootvid.c:133: Major==32 is true
5 - bootvid.c:138: Minor==0 is true
6 - bootvid.c:155: ShortValue is true
7 - bootvid.c:158: Count is true
8 - bootvid.c:158: Value is used, but is uninitialized.


-- 
Configure bugmail: http://www.reactos.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



More information about the Ros-bugs mailing list