cppcheck analysis of wine_1.0.1-3.1.dsc
- ./dlls/advapi32/service.c:1312 [error] - Possible null pointer dereference: lpwstr
- ./dlls/comctl32/propsheet.c:1970 [error] - Possible null pointer dereference: psInfo - otherwise it is redundant to check if psInfo is null at line 1971
- ./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/crypt32/rootstore.c:343 [error] - Resource leak: dir
- ./dlls/dbghelp/module.c:799 [error] - Possible null pointer dereference: hMods - otherwise it is redundant to check if hMods is null at line 800
- ./dlls/ddraw/tests/ddrawmodes.c:97 [error] - Common realloc mistake: "modes" nulled but not freed upon failure
- ./dlls/infosoft/infosoft_main.c:175 [error] - Buffer access out-of-bounds: key
- ./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:113 [error] - Null pointer dereference
- ./dlls/msvcrt/math.c:809 [error] - Passing value -1 to sqrt() leads to undefined result
- ./dlls/msvcrt/math.c:825 [error] - Passing value -1 to sqrt() leads to undefined result
- ./dlls/msvcrt/math.c:841 [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:798 [error] - Deallocating a deallocated pointer: stream2
- ./dlls/msvcrt/tests/file.c:782 [error] - Resource leak: stream3
- ./dlls/msvcrt/tests/file.c:789 [error] - Resource leak: stream4
- ./dlls/msvcrt/tests/heap.c:428 [error] - Common realloc mistake: "mem" nulled but not freed upon failure
- ./dlls/ntdll/virtual.c:1119 [error] - Possible null pointer dereference: rel - otherwise it is redundant to check if rel is null at line 1121
- ./dlls/ole32/stg_bigblockfile.c:873 [error] - Possible null pointer dereference: page - otherwise it is redundant to check if page is null at line 875
- ./dlls/ole32/storage.c:637 [error] - Uninitialized variable: block
- ./dlls/ole32/storage.c:660 [error] - Uninitialized variable: block
- ./dlls/quartz/avisplit.c:383 [error] - Possible null pointer dereference: pIndex - otherwise it is redundant to check if pIndex is null at line 384
- ./dlls/rpcrt4/tests/server.c:1119 [error] - Array 'ca[5]' index 5 out of bounds
- ./dlls/shell32/xdg.c:969 [error] - Resource leak: file
- ./dlls/twain_32/dsm_ctrl.c:87 [error] - Common realloc mistake: "devices" nulled but not freed upon failure
- ./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/winedos/int2f.c:1032 [error] - Possible null pointer dereference: driver_request
- ./dlls/winedos/int2f.c:1033 [error] - Possible null pointer dereference: driver_request
- ./dlls/winedos/vxd.c:1109 [error] - Possible null pointer dereference: stack
- ./dlls/winedos/vxd.c:1110 [error] - Possible null pointer dereference: stack
- ./dlls/winedos/vxd.c:1111 [error] - Possible null pointer dereference: stack
- ./dlls/winedos/vxd.c:1162 [error] - Possible null pointer dereference: stack
- ./dlls/winedos/vxd.c:1163 [error] - Possible null pointer dereference: stack
- ./dlls/winedos/vxd.c:1204 [error] - Possible null pointer dereference: stack
- ./dlls/winedos/vxd.c:1205 [error] - Possible null pointer dereference: stack
- ./dlls/winedos/vxd.c:1227 [error] - Possible null pointer dereference: stack
- ./dlls/winedos/vxd.c:1259 [error] - Possible null pointer dereference: stack
- ./dlls/winedos/vxd.c:1260 [error] - Possible null pointer dereference: stack
- ./dlls/winedos/vxd.c:1261 [error] - Possible null pointer dereference: stack
- ./dlls/winedos/vxd.c:1324 [error] - Possible null pointer dereference: stack
- ./dlls/winedos/vxd.c:1325 [error] - Possible null pointer dereference: stack
- ./dlls/winedos/vxd.c:1350 [error] - Possible null pointer dereference: stack
- ./dlls/winedos/vxd.c:1351 [error] - Possible null pointer dereference: stack
- ./dlls/winmm/mmio.c:354 [error] - Possible null pointer dereference: ioProc
- ./programs/cmd/wcmdmain.c:1840 [error] - Memory leak: s
- ./programs/oleview/pane.c:152 [error] - Possible null pointer dereference: hWndCreated - otherwise it is redundant to check if hWndCreated is null at line 154
- ./programs/regedit/regproc.c:974 [error] - Resource leak: reg_file
- ./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:2711 [error] - Uninitialized variable: orgWidths
- ./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:596 [error] - Common realloc mistake: "lpfont" nulled but not freed upon failure
- ./tools/fnt2bdf.c:227 [error] - Resource leak: fp
- ./tools/fnt2fon.c:303 [error] - Memory leak: file_lens
- ./tools/widl/write_msft.c:2494 [error] - Deallocating a deallocated pointer: fd
- ./tools/winebuild/res16.c:189 [error] - Resource leak: fd
- ./tools/winedump/pe.c:1344 [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