cppcheck analysis of stardict-tools_3.0.1-7.dsc
- ./src/bgl_babylon.cpp:63 [error] - Resource leak: f
- ./src/dictd2dic.cpp:121 [error] - Memory leak: buffer
- ./src/dsl2dict.c:499 [error] - Memory leak: idxfilename
- ./src/dsl2dict.c:510 [error] - Memory leak: ifofilename
- ./src/dsl2dict.c:510 [error] - Resource leak: idxfile
- ./src/dsl2dict.c:515 [error] - Resource leak: ifofile
- ./src/kingsoft.cpp:550 [error] - Memory leak: datafilename
- ./src/kingsoft.cpp:564 [error] - Memory leak: utfxmlfilename
- ./src/kingsoft.cpp:564 [error] - Memory leak: utfdatafilename
- ./src/libtabfile.cpp:177 [error] - Resource leak: ifofile
- ./src/libtabfile.cpp:182 [error] - Resource leak: idxfile
- ./src/myspell2dic.c:135 [error] - Buffer access out-of-bounds: lang
- ./src/olddic2newdic.cpp:74 [error] - Buffer access out-of-bounds: return_text
- ./src/olddic2newdic.cpp:76 [error] - Buffer access out-of-bounds: return_text
- ./src/olddic2newdic.cpp:78 [error] - Buffer access out-of-bounds: return_text
- ./src/olddic2newdic.cpp:80 [error] - Buffer access out-of-bounds: return_text
- ./src/olddic2newdic.cpp:82 [error] - Buffer access out-of-bounds: return_text
- ./src/olddic2newdic.cpp:84 [error] - Buffer access out-of-bounds: return_text
- ./src/olddic2newdic.cpp:86 [error] - Buffer access out-of-bounds: return_text
- ./src/olddic2newdic.cpp:88 [error] - Buffer access out-of-bounds: return_text
- ./src/olddic2newdic.cpp:90 [error] - Buffer access out-of-bounds: return_text
- ./src/olddic2newdic.cpp:92 [error] - Buffer access out-of-bounds: return_text
- ./src/olddic2newdic.cpp:94 [error] - Buffer access out-of-bounds: return_text
- ./src/olddic2newdic.cpp:96 [error] - Buffer access out-of-bounds: return_text
- ./src/olddic2newdic.cpp:98 [error] - Buffer access out-of-bounds: return_text
- ./src/olddic2newdic.cpp:100 [error] - Buffer access out-of-bounds: return_text
- ./src/olddic2newdic.cpp:102 [error] - Buffer access out-of-bounds: return_text
- ./src/olddic2newdic.cpp:104 [error] - Buffer access out-of-bounds: return_text
- ./src/olddic2newdic.cpp:163 [error] - Resource leak: idxfile
- ./src/olddic2newdic.cpp:163 [error] - Resource leak: dicfile
- ./src/olddic2newdic.cpp:171 [error] - Resource leak: fd
- ./src/ooo2dict.c:74 [error] - Buffer access out-of-bounds: lang
- ./src/rucn.cpp:140 [error] - Resource leak: ifofile
- ./src/rucn.cpp:145 [error] - Resource leak: idxfile
- ./src/testutf8.c:38 [error] - Buffer overrun possible for long cmd-line args
- ./src/testutf8.c:65 [error] - Common realloc mistake: "words" 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 Tue, 21 Dec 2010 06:58:11 +0000, based on results by cppcheck 1.46