cppcheck analysis of tesseract_2.04-2.dsc
- ./ccmain/reject.cpp:965 [error] - Resource leak: cs_file
- ./ccmain/varabled.cpp:142 [error] - Memory leak: msg
- ./ccstruct/rejctmap.cpp:397 [error] - Possible null pointer dereference: new_ptr
- ./ccutil/clst.h:657 [error] - Possible null pointer dereference: list
- ./ccutil/clst.h:658 [error] - Possible null pointer dereference: list
- ./ccutil/clst.h:792 [error] - Possible null pointer dereference: list
- ./ccutil/clst.cpp:369 [error] - Possible null pointer dereference: current - otherwise it is redundant to check if current is null at line 372
- ./ccutil/clst.cpp:436 [error] - Possible null pointer dereference: list
- ./ccutil/elst.cpp:337 [error] - Possible null pointer dereference: current - otherwise it is redundant to check if current is null at line 340
- ./ccutil/elst.h:690 [error] - Possible null pointer dereference: list
- ./ccutil/elst.h:691 [error] - Possible null pointer dereference: list
- ./ccutil/elst.h:825 [error] - Possible null pointer dereference: list
- ./ccutil/elst.cpp:404 [error] - Possible null pointer dereference: list
- ./ccutil/elst2.cpp:319 [error] - Possible null pointer dereference: current - otherwise it is redundant to check if current is null at line 322
- ./ccutil/elst2.cpp:360 [error] - Possible null pointer dereference: current - otherwise it is redundant to check if current is null at line 363
- ./ccutil/elst2.h:690 [error] - Possible null pointer dereference: list
- ./ccutil/elst2.h:691 [error] - Possible null pointer dereference: list
- ./ccutil/elst2.h:712 [error] - Possible null pointer dereference: list
- ./ccutil/elst2.h:847 [error] - Possible null pointer dereference: list
- ./image/imgs.cpp:646 [error] - Mismatching allocation and deallocation: linesums
- ./image/imgs.cpp:787 [error] - Mismatching allocation and deallocation: linesums
- ./wordrec/render.cpp:112 [error] - Possible null pointer dereference: edgept - otherwise it is redundant to check if edgept is null at line 115
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:19:06 +0000, based on results by cppcheck 1.46