cppcheck analysis of vite_1.1-4.dsc
- ./src/general/otf/otflib/OTF_Platform.c:247 [error] - Memory leak: buf
- ./src/general/otf/otflib/OTF_RBuffer.c:488 [error] - Common realloc mistake: "ret" nulled but not freed upon failure
- ./src/general/otf/tools/otfcompress/otfcompress.c:202 [error] - Common realloc mistake: "outfilename" nulled but not freed upon failure
- ./src/general/otf/tools/otfcompress/otfcompress.c:266 [error] - Common realloc mistake: "outfilename" nulled but not freed upon failure
- ./src/general/otf/tools/otfcompress/otfcompress.c:284 [error] - Common realloc mistake: "outfilename" nulled but not freed upon failure
- ./src/general/otf/tools/otfprofile/otfprofile.cpp:121 [error] - Memory leak: gd
- ./src/general/otf/tools/otfprofile/otfprofile.cpp:417 [error] - Memory leak: cpu2thread
- ./src/general/otf/tools/otfprofile/otfprofile.cpp:417 [error] - Memory leak: processlist
- ./src/general/otf/tools/otfshrink/Handler.cpp:51 [error] - Memory leak: mod_procs
- ./src/general/otf/tools/otfshrink/otfshrink.cpp:73 [error] - Memory leak: pwd
- ./src/general/otf/tools/otfshrink/otfshrink.cpp:336 [error] - Memory leak: ch_i
- ./src/general/otf/tools/otfshrink/otfshrink.cpp:386 [error] - Memory leak: entries
- ./src/render/render_stats_svg.cpp:104 [style] - The iterator incrementing is suspicious - it is incremented at line 104 and then at line 92 The loop might unintentionally skip an element in the container. There is no comparison between these increments to prevent that the iterator is incremented beyond the end.
- ./src/render/render_stats_svg.cpp:123 [style] - The iterator incrementing is suspicious - it is incremented at line 123 and then at line 117 The loop might unintentionally skip an element in the container. There is no comparison between these increments to prevent that the iterator is incremented beyond the end.
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:43 +0000, based on results by cppcheck 1.46