cppcheck analysis of ghc6_6.12.1-13.dsc
- ./libraries/dph/examples/dotp/dotp-c.c:111 [error] - Memory leak: idxs
- ./rts/Adjustor.c:1103 [error] - Uninitialized variable: code
- ./rts/RetainerProfile.c:2078 [error] - Division by zero
- ./rts/win32/seh_excn.h:80 [error] - Invalid number of character ({) when these macros are defined: '_MSC_VER;mingw32_HOST_OS'.
- ./rts/dyn-wrapper.c:164 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./rts/dyn-wrapper.c:180 [error] - Common realloc mistake: "alterego" nulled but not freed upon failure
- ./rts/dyn-wrapper.c:360 [error] - Common realloc mistake: "cwd" nulled but not freed upon failure
- ./rts/parallel/Pack.c:402 [error] - Common realloc mistake: "globalPackBuffer" nulled but not freed upon failure
- ./rts/parallel/Pack.c:2817 [error] - Uninitialized variable: info
- ./rts/parallel/Parallel.c:446 [error] - Buffer access out-of-bounds: globalGranStats.event_counts
- ./rts/posix/GetTime.c:122 [error] - Division by zero
- ./rts/posix/GetTime.c:123 [error] - Division by zero
- ./rts/win32/seh_excn.h:80 [error] - Invalid number of character ({) when these macros are defined: '_MSC_VER'.
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:14:17 +0000, based on results by cppcheck 1.46