cppcheck analysis of ghc6_6.6.1-2.dsc
- ./libraries/regex-posix/cbits/regcomp.c:2018 [error] - Memory leak: pmatches
- ./rts/RetainerProfile.c:2093 [error] - Division by zero
- ./rts/Schedule.c:1507 [error] - Invalid number of character (() when these macros are defined: 'DEBUG;GRAN'.
- ./rts/Schedule.c:1507 [error] - Invalid number of character (() when these macros are defined: 'GRAN'.
- ./rts/Threads.c:427 [error] - Invalid number of character (() when these macros are defined: 'DEBUG;GRAN'.
- ./rts/Threads.c:427 [error] - Invalid number of character (() when these macros are defined: 'GRAN'.
- ./rts/dotnet/Invoke.c:326 [error] - Memory leak: thisPtr
- ./rts/dotnet/Invoke.c:385 [error] - Memory leak: thisPtr
- ./rts/dotnet/Invoke.c:532 [error] - Uninitialized variable: fieldName
- ./rts/dotnet/Invoke.c:597 [error] - Uninitialized variable: fieldName
- ./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:110 [error] - Division by zero
- ./rts/posix/GetTime.c:111 [error] - Division by zero
- ./utils/prof/cgprof/cgprof.c:50 [error] - Common realloc mistake: "raw_profile" nulled but not freed upon failure
- ./utils/prof/cgprof/cgprof.c:340 [error] - Memory leak: group
- ./utils/prof/cgprof/daVinci.c:525 [error] - Memory leak: children
- ./utils/prof/cgprof/daVinci.c:598 [error] - Memory leak: children
- ./utils/prof/cgprof/main.c:436 [error] - Memory leak: select_nodes
- ./utils/prof/cgprof/main.c:436 [error] - Memory leak: undo_stack
- ./utils/prof/cgprof/symbol.c:42 [error] - Common realloc mistake: "symbol_table" nulled but not freed upon failure
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Wed, 22 Dec 2010 07:58:03 +0000, based on results by cppcheck 1.46