cppcheck analysis of boinc_6.10.58+dfsg-3.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/app_start.cpp:710 [error] - Undefined behaviour: buf is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./client/cpu_sched.cpp:144 [error] - Possible null pointer dereference: cp2
- ./client/cpu_sched.cpp:176 [error] - Possible null pointer dereference: cp2
- ./client/hostinfo_unix_test.cpp:205 [error] - Resource leak: f
- ./client/sim_util.cpp:473 [error] - Memory leak: sap
- ./client/sim_util.cpp:560 [error] - Memory leak: p
- ./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/ViewTransfers.cpp:757 [error] - Possible null pointer dereference: transfer
- ./lib/crypt_prog.cpp:92 [error] - Resource leak: f
- ./lib/diagnostics_win.cpp:330 [error] - Possible null pointer dereference: ppBuffer
- ./lib/parse.cpp:179 [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:309 [error] - Null pointer dereference
- ./samples/image_libs/tgalib.cpp:126 [error] - Memory leak: pImageData
- ./samples/image_libs/tgalib.cpp:126 [error] - Resource leak: pFile
- ./samples/jpeglib/jerror.c:103 [error] - Uninitialized variable: buffer
- ./samples/jpeglib/jmemmgr.c:1067 [error] - Possible null pointer dereference: mem
- ./samples/jpeglib/jmemmgr.c:1068 [error] - Possible null pointer dereference: mem
- ./samples/jpeglib/jmemmgr.c:1069 [error] - Possible null pointer dereference: mem
- ./samples/jpeglib/jmemmgr.c:1070 [error] - Possible null pointer dereference: mem
- ./samples/jpeglib/jmemmgr.c:1071 [error] - Possible null pointer dereference: mem
- ./samples/jpeglib/jmemmgr.c:1072 [error] - Possible null pointer dereference: mem
- ./samples/jpeglib/jmemmgr.c:1073 [error] - Possible null pointer dereference: mem
- ./samples/jpeglib/jmemmgr.c:1074 [error] - Possible null pointer dereference: mem
- ./samples/jpeglib/jmemmgr.c:1075 [error] - Possible null pointer dereference: mem
- ./samples/jpeglib/jmemmgr.c:1076 [error] - Possible null pointer dereference: mem
- ./samples/jpeglib/jmemmgr.c:1077 [error] - Possible null pointer dereference: mem
- ./samples/jpeglib/jmemmgr.c:1080 [error] - Possible null pointer dereference: mem
- ./samples/jpeglib/jmemmgr.c:1083 [error] - Possible null pointer dereference: mem
- ./samples/jpeglib/jmemmgr.c:1086 [error] - Possible null pointer dereference: mem
- ./samples/jpeglib/jmemmgr.c:1087 [error] - Possible null pointer dereference: mem
- ./samples/jpeglib/jmemmgr.c:1089 [error] - Possible null pointer dereference: mem
- ./samples/jpeglib/jmemmgr.c:1090 [error] - Possible null pointer dereference: mem
- ./samples/jpeglib/jmemmgr.c:1092 [error] - Possible null pointer dereference: mem
- ./samples/worker/worker.cpp:78 [error] - Resource leak: in
- ./samples/worker/worker.cpp:78 [error] - Resource leak: out
- ./sched/feeder.cpp:777 [error] - Memory leak: weights
- ./sched/feeder.cpp:777 [error] - Memory leak: counts
- ./sched/file_upload_handler.cpp:456 [error] - Resource leak: fd
- ./sched/sample_bitwise_validator.cpp:60 [error] - Memory leak: fcl
- ./sched/sched_driver.cpp:82 [error] - Resource leak: f
- ./sched/sched_main.cpp:417 [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 Mon, 20 Dec 2010 21:12:43 +0000, based on results by cppcheck 1.46