cppcheck analysis of boinc_6.12.22+dfsg-1.dsc
- ./api/graphics2_util.cpp:71 [error] - Uninitialized variable: shmem_name
- ./api/graphics2_util.cpp:104 [error] - Uninitialized variable: shmem_name
- ./api/gutil.cpp:745 [error] - Possible null pointer dereference: pImage - otherwise it is redundant to check if pImage is null at line 751
- ./api/gutil.cpp:748 [error] - Possible null pointer dereference: pImage - otherwise it is redundant to check if pImage is null at line 751
- ./api/gutil.cpp:749 [error] - Possible null pointer dereference: pImage - otherwise it is redundant to check if pImage is null at line 751
- ./api/make_app_icon_h.cpp:45 [error] - Resource leak: outFile
- ./api/texture.cpp:331 [error] - Resource leak: s
- ./api/tgalib.cpp:129 [error] - Memory leak: pImageData
- ./api/tgalib.cpp:129 [error] - Resource leak: pFile
- ./apps/concat.cpp:152 [error] - Resource leak: state
- ./client/cpu_sched.cpp:206 [error] - Possible null pointer dereference: cp2
- ./client/cs_account.cpp:467 [error] - Memory leak: project
- ./client/hostinfo_unix_test.cpp:205 [error] - Resource leak: f
- ./client/sim.cpp:712 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./client/sim.cpp:712 [error] - Invalid number of character ({) when these macros are defined: 'SIM'.
- ./client/sim.cpp:712 [error] - Invalid number of character ({) when these macros are defined: 'USE_REC'.
- ./client/sim.cpp:712 [error] - Invalid number of character ({) when these macros are defined: '_MSC_VER'.
- ./client/sim.cpp:712 [error] - Invalid number of character ({) when these macros are defined: '_WIN32'.
- ./client/sim.cpp:712 [error] - Invalid number of character ({) when these macros are defined: '__APPLE__'.
- ./client/stream.cpp:112 [error] - Common realloc mistake: "a" nulled but not freed upon failure
- ./client/stream.cpp:113 [error] - Common realloc mistake: "b" nulled but not freed upon failure
- ./client/stream.cpp:114 [error] - Common realloc mistake: "c" nulled but not freed upon failure
- ./clientgui/AdvancedFrame.cpp:1527 [error] - Uninitialized variable: procName
- ./clientgui/BOINCHtmlLBox.cpp:274 [error] - Possible null pointer dereference: m_htmlParser
- ./clientgui/BOINCHtmlLBox.cpp:275 [error] - Possible null pointer dereference: m_htmlParser
- ./clientgui/ViewTransfers.cpp:765 [error] - Possible null pointer dereference: transfer
- ./lib/crypt_prog.cpp:113 [error] - Resource leak: f
- ./lib/diagnostics_win.cpp:338 [error] - Possible null pointer dereference: ppBuffer
- ./lib/parse.cpp:183 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./lib/susp.cpp:188 [error] - Common realloc mistake: "array" nulled but not freed upon failure
- ./lib/util.cpp:313 [error] - Null pointer dereference
- ./samples/atiopencl/atiopencl.cpp:444 [error] - Resource leak: infile
- ./samples/atiopencl/atiopencl.cpp:500 [error] - Mismatching allocation and deallocation: platforms
- ./samples/image_libs/tgalib.cpp:126 [error] - Memory leak: pImageData
- ./samples/image_libs/tgalib.cpp:126 [error] - Resource leak: pFile
- ./samples/nvopencl/nvopencl.cpp:452 [error] - Resource leak: infile
- ./samples/nvopencl/nvopencl.cpp:508 [error] - Mismatching allocation and deallocation: platforms
- ./samples/worker/worker.cpp:78 [error] - Resource leak: in
- ./samples/worker/worker.cpp:78 [error] - Resource leak: out
- ./sched/feeder.cpp:853 [error] - Memory leak: weights
- ./sched/feeder.cpp:853 [error] - Memory leak: counts
- ./sched/file_upload_handler.cpp:458 [error] - Resource leak: fd
- ./sched/sample_bitwise_validator.cpp:60 [error] - Memory leak: fcl
- ./sched/sched_driver.cpp:83 [error] - Resource leak: f
- ./sched/sched_main.cpp:443 [error] - Memory leak: stderr_buffer
- ./sched/sched_timezone.cpp:129 [error] - Common realloc mistake: "cached" 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 Thu, 14 Apr 2011 06:58:09 +0000, based on results by cppcheck 1.46