cppcheck analysis of groff_1.21-4.dsc
- ./src/devices/grolbp/lbp.cpp:276 [error] - Memory leak: nam
- ./src/devices/grops/ps.cpp:851 [error] - Memory leak: done_encoding
- ./src/libs/libbib/index.cpp:294 [error] - Memory leak: index_filename
- ./src/libs/libbib/index.cpp:516 [error] - Uninitialized variable: temp_listp
- ./src/libs/libbib/linear.cpp:81 [error] - Memory leak: bmpattern::pat
- ./src/libs/libgroff/relocate.cpp:88 [error] - Memory leak: path
- ./src/libs/libgroff/relocate.cpp:86 [error] - Memory leak: path
- ./src/libs/libgroff/tmpfile.cpp:165 [error] - Memory leak: s
- ./src/preproc/eqn/eqn.cpp:1514 [error] - Memory leak: yyptr
- ./src/preproc/grn/main.cpp:347 [error] - Resource leak: fp
- ./src/preproc/html/pre-html.cpp:1749 [error] - Memory leak: troff_name
- ./src/preproc/html/pre-html.cpp:1392 [error] - Allocation with creat, set_redirection doesn't release it.
- ./src/preproc/html/pre-html.cpp:1393 [error] - Allocation with creat, set_redirection doesn't release it.
- ./src/preproc/html/pushback.cpp:75 [error] - Allocation with open, if doesn't release it.
- ./src/preproc/refer/label.cpp:1445 [error] - Memory leak: yyptr
- ./src/roff/groff/pipeline.c:134 [error] - Dangerous usage of 'base' (strncpy doesn't always 0-terminate it)
- ./src/roff/troff/env.cpp:435 [error] - Memory leak: w
- ./src/roff/troff/env.cpp:1249 [error] - Memory leak: sizes
- ./src/roff/troff/env.cpp:3598 [error] - Memory leak: tem
- ./src/roff/troff/env.cpp:3719 [error] - Memory leak: tem
- ./src/roff/troff/input.cpp:2656 [error] - Memory leak: p
- ./src/roff/troff/input.cpp:4371 [error] - Memory leak: p
- ./src/roff/troff/input.cpp:4384 [error] - Memory leak: p
- ./src/roff/troff/input.cpp:4768 [error] - Memory leak: p
- ./src/roff/troff/input.cpp:4815 [error] - Memory leak: p
- ./src/roff/troff/input.cpp:4922 [error] - Memory leak: p
- ./src/roff/troff/input.cpp:4951 [error] - Memory leak: p
- ./src/roff/troff/input.cpp:5486 [error] - Memory leak: p
- ./src/roff/troff/input.cpp:5991 [error] - Resource leak: fp
- ./src/roff/troff/input.cpp:3581 [error] - Memory leak: temp_iterator::base
- ./src/roff/troff/input.cpp:2493 [error] - Uninitialized variable: buf
- ./src/utils/addftinfo/addftinfo.cpp:129 [error] - Resource leak: infp
- ./src/utils/hpftodit/hpftodit.cpp:422 [error] - Resource leak: fd
- ./src/utils/hpftodit/hpftodit.cpp:578 [error] - Mismatching allocation and deallocation: font_name
- ./src/utils/hpftodit/hpftodit.cpp:1387 [error] - Resource leak: fp
- ./src/utils/tfmtodit/tfmtodit.cpp:300 [error] - Memory leak: buf
- ./src/utils/tfmtodit/tfmtodit.cpp:425 [error] - Resource leak: fp
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Thu, 10 Feb 2011 06:58:04 +0000, based on results by cppcheck 1.46