cppcheck analysis of dia_0.97.1-8.dsc
- ./app/layer_dialog.c:960 [error] - Memory leak: change
- ./app/sheets_dialog_callbacks.c:1630 [error] - Resource leak: fp_src
- ./app/sheets_dialog_callbacks.c:1667 [error] - Memory leak: basename
- ./app/sheets_dialog_callbacks.c:407 [error] - Uninitialized variable: style
- ./bindings/dia-properties.cpp:412 [style] - The iterator incrementing is suspicious - it is incremented at line 412 and then at line 401 The loop might unintentionally skip an element in the container. There is no comparison between these increments to prevent that the iterator is incremented beyond the end.
- ./lib/prop_text.c:481 [error] - Memory leak: name
- ./objects/FS/function.c:661 [error] - Invalid number of character (() when these macros are defined: 'THIS_C_COMPILER_ALSO_UNDERSTANDS_EMACS_LISP'.
- ./objects/custom_lines/line_info.c:287 [error] - Memory leak: res
- ./plug-ins/vdx/vdx-export.c:1438 [error] - Array 'buf[3]' index 3 out of bounds
- ./plug-ins/vdx/vdx-import.c:820 [error] - Memory leak: a
- ./plug-ins/vdx/vdx-import.c:1957 [error] - Memory leak: start_arrow_p
- ./plug-ins/vdx/vdx-import.c:1957 [error] - Memory leak: end_arrow_p
- ./plug-ins/xslt/xslt.c:101 [error] - Resource leak: file
- ./plug-ins/xslt/xslt.c:110 [error] - Resource leak: out
- ./tests/test-boundingbox.c:145 [error] - Uninitialized variable: ret
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Sat, 09 Apr 2011 06:58:05 +0000, based on results by cppcheck 1.46