cppcheck analysis of icu_4.4.2-2.dsc
- ./source/common/dictbe.cpp:265 [error] - Uninitialized variable: words
- ./source/i18n/uspoof_impl.cpp:41 [error] - Possible null pointer dereference: allowedCharsSet
- ./source/i18n/zstrfmt.cpp:623 [error] - Memory leak: names
- ./source/samples/ucnv/convsamp.cpp:476 [error] - Resource leak: f
- ./source/samples/ucnv/convsamp.cpp:510 [error] - Memory leak: uBuf
- ./source/samples/ucnv/convsamp.cpp:476 [error] - Memory leak: info
- ./source/samples/ugrep/ugrep.cpp:340 [error] - Common realloc mistake: "ucharBuf" nulled but not freed upon failure
- ./source/test/cintltst/bocu1tst.c:898 [error] - Memory leak: roundtripRef
- ./source/test/cintltst/bocu1tst.c:898 [error] - Memory leak: roundtripICU
- ./source/test/cintltst/ccapitst.c:596 [error] - Resource leak: ucs_file_in
- ./source/test/cintltst/cintltst.c:452 [error] - Memory leak: dataDir
- ./source/test/cintltst/cloctst.c:277 [error] - Common realloc mistake: "temp" nulled but not freed upon failure
- ./source/test/cintltst/cloctst.c:291 [error] - Common realloc mistake: "temp" nulled but not freed upon failure
- ./source/test/cintltst/cloctst.c:527 [error] - Common realloc mistake: "testLocale" nulled but not freed upon failure
- ./source/test/cintltst/cloctst.c:533 [error] - Common realloc mistake: "expected" nulled but not freed upon failure
- ./source/test/cintltst/cloctst.c:541 [error] - Common realloc mistake: "expected" nulled but not freed upon failure
- ./source/test/cintltst/cloctst.c:1170 [error] - Common realloc mistake: "got" nulled but not freed upon failure
- ./source/test/cintltst/cloctst.c:1190 [error] - Common realloc mistake: "got" nulled but not freed upon failure
- ./source/test/cintltst/cloctst.c:1204 [error] - Common realloc mistake: "got" nulled but not freed upon failure
- ./source/test/cintltst/cloctst.c:1218 [error] - Common realloc mistake: "got" nulled but not freed upon failure
- ./source/test/cintltst/cloctst.c:1232 [error] - Common realloc mistake: "got" nulled but not freed upon failure
- ./source/test/cintltst/cmsgtst.c:126 [error] - Common realloc mistake: "result" nulled but not freed upon failure
- ./source/test/cintltst/cmsgtst.c:283 [error] - Common realloc mistake: "result" nulled but not freed upon failure
- ./source/test/cintltst/cmsgtst.c:314 [error] - Common realloc mistake: "result" nulled but not freed upon failure
- ./source/test/cintltst/cmsgtst.c:339 [error] - Common realloc mistake: "result" nulled but not freed upon failure
- ./source/test/cintltst/cmsgtst.c:410 [error] - Common realloc mistake: "result" nulled but not freed upon failure
- ./source/test/cintltst/cmsgtst.c:504 [error] - Common realloc mistake: "result" nulled but not freed upon failure
- ./source/test/cintltst/cmsgtst.c:597 [error] - Common realloc mistake: "result" nulled but not freed upon failure
- ./source/test/cintltst/cmsgtst.c:886 [error] - Common realloc mistake: "result" nulled but not freed upon failure
- ./source/test/cintltst/sprpdata.c:293 [error] - Memory leak: filename
- ./source/test/intltest/citrtest.cpp:1168 [error] - Mismatching allocation and deallocation: p
- ./source/test/intltest/dcfmtest.cpp:501 [error] - Mismatching allocation and deallocation: retPtr
- ./source/test/intltest/dcfmtest.cpp:510 [error] - Mismatching allocation and deallocation: retPtr
- ./source/test/intltest/numrgts.cpp:715 [error] - Unusual pointer arithmetic
- ./source/test/intltest/numrgts.cpp:1991 [error] - Unusual pointer arithmetic
- ./source/test/intltest/numrgts.cpp:1996 [error] - Unusual pointer arithmetic
- ./source/test/intltest/rbbitst.cpp:2131 [error] - Mismatching allocation and deallocation: retPtr
- ./source/test/intltest/rbbitst.cpp:2146 [error] - Mismatching allocation and deallocation: retPtr
- ./source/test/intltest/regextst.cpp:3488 [error] - Mismatching allocation and deallocation: retPtr
- ./source/test/intltest/regextst.cpp:3503 [error] - Mismatching allocation and deallocation: retPtr
- ./source/test/perf/collationperf/collperf.cpp:1393 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./source/test/perf/collationperf/collperf.cpp:762 [error] - Division by zero
- ./source/test/perf/collperf/collperf.cpp:54 [error] - Common realloc mistake: "index" nulled but not freed upon failure
- ./source/test/perf/collperf/collperf.cpp:54 [error] - Common realloc mistake: "data" nulled but not freed upon failure
- ./source/test/perf/collperf/collperf.cpp:55 [error] - Common realloc mistake: "index" nulled but not freed upon failure
- ./source/test/perf/collperf/collperf.cpp:55 [error] - Common realloc mistake: "data" nulled but not freed upon failure
- ./source/test/perf/collperf/collperf.cpp:56 [error] - Common realloc mistake: "index" nulled but not freed upon failure
- ./source/test/perf/collperf/collperf.cpp:56 [error] - Common realloc mistake: "data" nulled but not freed upon failure
- ./source/test/perf/collperf/collperf.cpp:57 [error] - Common realloc mistake: "index" nulled but not freed upon failure
- ./source/test/perf/collperf/collperf.cpp:57 [error] - Common realloc mistake: "data" nulled but not freed upon failure
- ./source/test/perf/ubrkperf/ubrkperfold.cpp:718 [error] - Common realloc mistake: "text" nulled but not freed upon failure
- ./source/tools/dumpce/dumpce.cpp:989 [error] - Memory leak: pattern
- ./source/tools/dumpce/dumpce.cpp:581 [error] - Uninitialized variable: inputfilename
- ./source/tools/gencfu/gencfu.cpp:316 [error] - Resource leak: file
- ./source/tools/toolutil/package.cpp:442 [error] - Uninitialized variable: type
- ./source/tools/toolutil/package.cpp:1010 [error] - Uninitialized variable: type
- ./source/tools/tzcode/tz2icu.cpp:1347 [error] - Dangerous iterator usage. After erase the iterator is invalid so dereferencing it or comparing it with another iterator is invalid.
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 22:58:06 +0000, based on results by cppcheck 1.46