cppcheck analysis of stardict-tools_3.0.2-2.dsc
- ./src/dictd2dic.cpp:121 [error] - Memory leak: buffer
- ./src/dsl2dict.c:538 [error] - Memory leak: idxfilename
- ./src/dsl2dict.c:549 [error] - Memory leak: ifofilename
- ./src/dsl2dict.c:549 [error] - Resource leak: idxfile
- ./src/dsl2dict.c:554 [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/myspell2dic.c:135 [error] - Buffer access out-of-bounds: lang
- ./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:106 [error] - Buffer access out-of-bounds: return_text
- ./src/olddic2newdic.cpp:108 [error] - Buffer access out-of-bounds: return_text
- ./src/olddic2newdic.cpp:167 [error] - Resource leak: idxfile
- ./src/olddic2newdic.cpp:167 [error] - Resource leak: dicfile
- ./src/olddic2newdic.cpp:175 [error] - Resource leak: fd
- ./src/ooo2dict.c:74 [error] - Buffer access out-of-bounds: lang
- ./src/rucn.cpp:144 [error] - Resource leak: ifofile
- ./src/rucn.cpp:149 [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 Fri, 25 Mar 2011 06:58:13 +0000, based on results by cppcheck 1.46