cppcheck analysis of wine-unstable_1.1.32-1.dsc
- ./dlls/advapi32/service.c:1071 [error] - Possible null pointer dereference: lpwstr
- ./dlls/comctl32/propsheet.c:1966 [error] - Possible null pointer dereference: psInfo - otherwise it is redundant to check if psInfo is null at line 1967
- ./dlls/comctl32/propsheet.c:199 [error] - Buffer access out-of-bounds: string
- ./dlls/comctl32/propsheet.c:200 [error] - Buffer access out-of-bounds: string
- ./dlls/comctl32/propsheet.c:201 [error] - Buffer access out-of-bounds: string
- ./dlls/comctl32/rebar.c:304 [error] - Buffer access out-of-bounds: line
- ./dlls/comctl32/rebar.c:321 [error] - Buffer access out-of-bounds: line
- ./dlls/dbghelp/module.c:833 [error] - Possible null pointer dereference: hMods - otherwise it is redundant to check if hMods is null at line 834
- ./dlls/ddraw/tests/ddrawmodes.c:108 [error] - Null pointer dereference
- ./dlls/ddraw/tests/ddrawmodes.c:212 [error] - Null pointer dereference
- ./dlls/infosoft/infosoft_main.c:175 [error] - Buffer access out-of-bounds: key
- ./dlls/iphlpapi/ipstats.c:1012 [error] - Possible null pointer dereference: table - otherwise it is redundant to check if table is null at line 1198
- ./dlls/iphlpapi/ipstats.c:1271 [error] - Possible null pointer dereference: table - otherwise it is redundant to check if table is null at line 1412
- ./dlls/iphlpapi/ipstats.c:1487 [error] - Possible null pointer dereference: table - otherwise it is redundant to check if table is null at line 1539
- ./dlls/iphlpapi/ipstats.c:1640 [error] - Possible null pointer dereference: table - otherwise it is redundant to check if table is null at line 1775
- ./dlls/kernel32/computername.c:239 [error] - Uninitialized variable: buf
- ./dlls/kernel32/computername.c:317 [error] - Uninitialized variable: buf
- ./dlls/kernel32/relay16.c:136 [error] - Uninitialized variable: buffer
- ./dlls/kernel32/tests/debugger.c:148 [error] - Null pointer dereference
- ./dlls/msvcrt/math.c:786 [error] - Passing value -1 to sqrt() leads to undefined result
- ./dlls/msvcrt/math.c:802 [error] - Passing value -1 to sqrt() leads to undefined result
- ./dlls/msvcrt/math.c:818 [error] - Passing value -1 to sqrt() leads to undefined result
- ./dlls/msvcrt/tests/cpp.c:370 [error] - Possible null pointer dereference: ti - otherwise it is redundant to check if ti is null at line 372
- ./dlls/msvcrt/tests/file.c:1117 [error] - Deallocating a deallocated pointer: stream2
- ./dlls/msvcrt/tests/file.c:1101 [error] - Resource leak: stream3
- ./dlls/msvcrt/tests/file.c:1108 [error] - Resource leak: stream4
- ./dlls/msvcrt/tests/heap.c:427 [error] - Common realloc mistake: "mem" nulled but not freed upon failure
- ./dlls/ntdll/virtual.c:1258 [error] - Possible null pointer dereference: rel - otherwise it is redundant to check if rel is null at line 1260
- ./dlls/ole32/stg_bigblockfile.c:665 [error] - Possible null pointer dereference: page - otherwise it is redundant to check if page is null at line 667
- ./dlls/rpcrt4/tests/server.c:1189 [error] - Array 'ca[5]' index 5 out of bounds
- ./dlls/storage.dll16/storage.c:637 [error] - Uninitialized variable: block
- ./dlls/storage.dll16/storage.c:660 [error] - Uninitialized variable: block
- ./dlls/user32/dde_server.c:395 [error] - Possible null pointer dereference: pInstance - otherwise it is redundant to check if pInstance is null at line 396
- ./dlls/user32/tests/msg.c:7857 [error] - Null pointer dereference
- ./dlls/winedos/int2f.c:1084 [error] - Possible null pointer dereference: driver_request
- ./dlls/winedos/int2f.c:1085 [error] - Possible null pointer dereference: driver_request
- ./dlls/winedos/vxd.c:1111 [error] - Possible null pointer dereference: stack
- ./dlls/winedos/vxd.c:1112 [error] - Possible null pointer dereference: stack
- ./dlls/winedos/vxd.c:1113 [error] - Possible null pointer dereference: stack
- ./dlls/winedos/vxd.c:1164 [error] - Possible null pointer dereference: stack
- ./dlls/winedos/vxd.c:1165 [error] - Possible null pointer dereference: stack
- ./dlls/winedos/vxd.c:1206 [error] - Possible null pointer dereference: stack
- ./dlls/winedos/vxd.c:1207 [error] - Possible null pointer dereference: stack
- ./dlls/winedos/vxd.c:1229 [error] - Possible null pointer dereference: stack
- ./dlls/winedos/vxd.c:1261 [error] - Possible null pointer dereference: stack
- ./dlls/winedos/vxd.c:1262 [error] - Possible null pointer dereference: stack
- ./dlls/winedos/vxd.c:1263 [error] - Possible null pointer dereference: stack
- ./dlls/winedos/vxd.c:1326 [error] - Possible null pointer dereference: stack
- ./dlls/winedos/vxd.c:1327 [error] - Possible null pointer dereference: stack
- ./dlls/winedos/vxd.c:1352 [error] - Possible null pointer dereference: stack
- ./dlls/winedos/vxd.c:1353 [error] - Possible null pointer dereference: stack
- ./programs/winedbg/info.c:306 [error] - instance of "class_walker" object destroyed immediately
- ./programs/winedbg/info.c:321 [error] - instance of "class_walker" object destroyed immediately
- ./programs/winefile/winefile.c:4615 [error] - Array 'g_pos_names[10][20]' index g_pos_names[10][0] out of bounds
- ./programs/winefile/winefile.c:4613 [error] - Array 'g_pos_names[5][20]' index g_pos_names[5][0] out of bounds
- ./server/object.c:345 [error] - Possible null pointer dereference: namespace - otherwise it is redundant to check if namespace is null at line 346
- ./tools/fnt2bdf.c:714 [error] - Common realloc mistake: "lpfont" nulled but not freed upon failure
- ./tools/fnt2fon.c:387 [error] - Memory leak: file_lens
- ./tools/widl/write_msft.c:2540 [error] - Deallocating a deallocated pointer: fd
- ./tools/winedump/pe.c:1547 [error] - Memory leak: map
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Mon, 20 Dec 2010 21:19:53 +0000, based on results by cppcheck 1.46