cppcheck analysis of tau_2.16.4-1.4.dsc
- ./examples/NPB2.3/sys/setparams.c:301 [error] - Resource leak: fp
- ./examples/NPB2.3/sys/setparams.c:795 [error] - Resource leak: deffile
- ./examples/charm/pgm.C:35 [error] - Uninitialized variable: sum
- ./examples/headroom/available/simple.cpp:20 [error] - Memory leak: ary
- ./examples/headroom/here/simple.cpp:21 [error] - Memory leak: ary
- ./examples/memory/simple.cpp:23 [error] - Memory leak: x
- ./examples/opari/openmpi/stommel.c:131 [error] - Resource leak: fp
- ./examples/openmpi/stommel.c:131 [error] - Resource leak: fp
- ./examples/sproc/hello.cpp:127 [error] - Memory leak: priv_
- ./src/Profile/KtauProfiler.cpp:507 [error] - Mismatching allocation and deallocation: errormsg
- ./src/Profile/PapiLayer.cpp:404 [error] - Uninitialized variable: rc
- ./src/Profile/Profiler.cpp:223 [error] - Memory leak: header
- ./src/Profile/Profiler.cpp:1068 [error] - Memory leak: filename
- ./src/Profile/Profiler.cpp:1068 [error] - Memory leak: dirname
- ./src/Profile/Profiler.cpp:1339 [error] - Memory leak: filename
- ./src/Profile/Profiler.cpp:1537 [error] - Memory leak: header
- ./src/Profile/Profiler.cpp:1537 [error] - Memory leak: dirname
- ./src/Profile/Profiler.cpp:1846 [error] - Memory leak: filename
- ./src/Profile/Profiler.cpp:1846 [error] - Memory leak: header
- ./src/Profile/Profiler.cpp:1846 [error] - Memory leak: dirname
- ./src/Profile/Profiler.cpp:1903 [error] - Memory leak: filename
- ./src/Profile/Profiler.cpp:2093 [error] - Memory leak: header
- ./src/Profile/Profiler.cpp:2093 [error] - Memory leak: dirname
- ./src/Profile/Profiler.cpp:3216 [error] - Memory leak: dirname
- ./src/Profile/PyTimer.cpp:95 [error] - Mismatching allocation and deallocation: functionName
- ./src/Profile/RtsLayer.cpp:1295 [error] - Memory leak: dirname
- ./src/Profile/TauCallPath.cpp:271 [error] - Mismatching allocation and deallocation: comparison
- ./src/Profile/TauMemory.cpp:209 [error] - Memory leak: e
- ./src/Profile/Tracer.cpp:287 [error] - Memory leak: dirname
- ./src/Profile/UserEvent.cpp:692 [error] - Mismatching allocation and deallocation: comparison
- ./src/TraceInput/TAU_tf.cpp:452 [error] - Memory leak: traceBuffer
- ./src/TraceInput/TAU_tf.cpp:880 [error] - Resource leak: edf
- ./tools/src/contrib/slog2sdk/src/logformat/trace/trace_check_timeorder.c:87 [error] - Buffer overrun possible for long cmd-line args
- ./tools/src/contrib/slog2sdk/src/logformat/trace/trace_print.c:75 [error] - Buffer overrun possible for long cmd-line args
- ./tools/src/perfexplorer/src/server/AnalysisTaskWrapper.cpp:437 [error] - Unusual pointer arithmetic
- ./tools/src/perfexplorer/src/server/AnalysisTaskWrapper.cpp:498 [error] - Unusual pointer arithmetic
- ./tools/src/perfexplorer/src/server/AnalysisTaskWrapper.cpp:499 [error] - Unusual pointer arithmetic
- ./tools/src/perfexplorer/src/server/AnalysisTaskWrapper.cpp:500 [error] - Unusual pointer arithmetic
- ./tools/src/perfexplorer/src/server/AnalysisTaskWrapper.cpp:501 [error] - Unusual pointer arithmetic
- ./tools/src/perfexplorer/src/server/AnalysisTaskWrapper.cpp:572 [error] - Unusual pointer arithmetic
- ./utils/ar2pcxx.c:34 [error] - Buffer overrun possible for long cmd-line args
- ./utils/csUI/csUI.C:285 [error] - Resource leak: dirp
- ./utils/csUI/csUI.C:410 [error] - Uninitialized variable: y
- ./utils/elgconverter/tau2elg.cpp:280 [error] - Memory leak: name
- ./utils/elgconverter/tau2elg.cpp:564 [error] - Memory leak: threadnumarray
- ./utils/elgconverter/tau2elg.cpp:644 [error] - Memory leak: idarray
- ./utils/pprof.cpp:211 [error] - Resource leak: fp
- ./utils/pprof.cpp:399 [error] - Resource leak: fp
- ./utils/pprof.cpp:533 [error] - Mismatching allocation and deallocation: functionName
- ./utils/pprof.cpp:615 [error] - Mismatching allocation and deallocation: userEventName
- ./utils/pprof.cpp:707 [error] - Resource leak: fp
- ./utils/slogconverter/src/trace_tau.c:412 [error] - Common realloc mistake: "countthreads" nulled but not freed upon failure
- ./utils/slogconverter/src/trace_tau.c:738 [error] - Memory leak: name
- ./utils/slogconverter/src/trace_tau.c:738 [error] - Memory leak: legend
- ./utils/slogconverter/src/trace_tau.c:1138 [error] - Memory leak: name
- ./utils/slogconverter/src/trace_tau.c:1138 [error] - Memory leak: legend
- ./utils/slogconverter/src/trace_tau.c:1385 [error] - Memory leak: legend
- ./utils/slogconverter/src/trace_tau.c:2568 [error] - Memory leak: ymap
- ./utils/tau2otf.cpp:646 [error] - Memory leak: threadnumarray
- ./utils/tau2vtf.cpp:604 [error] - Memory leak: threadnumarray
- ./utils/tau_convert.c:1806 [error] - Memory leak: pcfFile
- ./utils/tau_convert.c:1888 [error] - Memory leak: taskList
- ./utils/tau_convert.c:1888 [error] - Memory leak: tempList
- ./utils/tau_events.cpp:260 [error] - Dereferencing 'stlEvName' after it is deallocated / released
- ./utils/tau_timecorrect.cpp:1134 [error] - Memory leak: threadnumarray
- ./utils/vtfconverter/readVTF.cc:511 [error] - Possible null pointer dereference: a_CPUnode
- ./utils/vtfconverter/readVTF.cc:744 [error] - Possible null pointer dereference: a_CPUnode
- ./utils/vtfconverter/readVTF.cc:1013 [error] - Possible null pointer dereference: a_CPUnode
- ./utils/vtfconverter/stack.cc:464 [error] - Memory leak: tempSamps
- ./utils/vtfconverter/stack.cc:575 [error] - Memory leak: tempSamps
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:18:59 +0000, based on results by cppcheck 1.46