cppcheck analysis of xtrkcad_4.0.2-2.dsc
- ./app/bin/cgroup.c:902 [error] - Invalid number of character ({) when these macros are defined: 'LATER'.
- ./app/bin/cgroup.c:1020 [error] - Invalid number of character ({) when these macros are defined: 'SEGMAP'.
- ./app/bin/ctodesgn.c:1652 [error] - Memory leak: customInfoP
- ./app/bin/cturnout.c:1197 [error] - Invalid number of character ({) when these macros are defined: 'LATER'.
- ./app/bin/cturnout.c:2503 [error] - Resource leak: f
- ./app/bin/cturntbl.c:102 [error] - syntax error
- ./app/bin/dlayer.c:517 [error] - Undefined behaviour: layersSaved is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./app/bin/dprmfile.c:134 [error] - Resource leak: updateF
- ./app/bin/misc.c:1389 [error] - Array index -1 is out of bounds
- ./app/bin/smalldlg.c:146 [error] - Resource leak: tipF
- ./app/bin/utility.c:586 [error] - Invalid number of character (() when these macros are defined: 'LATER'.
- ./app/help/fixbmp.c:84 [error] - Resource leak: file
- ./app/help/fixbmp.c:157 [error] - Memory leak: bmp
- ./app/help/mkshg.c:377 [error] - Resource leak: pngF
- ./app/help/mkshg.c:399 [error] - Resource leak: shgF
- ./app/help/prochelp.c:644 [error] - Common realloc mistake: "buff" nulled but not freed upon failure
- ./app/help/prochelp.c:662 [error] - Common realloc mistake: "buff" nulled but not freed upon failure
- ./app/help/prochelp.c:685 [error] - Common realloc mistake: "buff" nulled but not freed upon failure
- ./app/lib/params/mkcarpart.c:291 [error] - Resource leak: inF
- ./app/tools/addcrlf.c:95 [error] - Resource leak: in
- ./app/tools/addcrlf.c:152 [error] - Resource leak: in
- ./app/tools/addcrlf.c:198 [error] - Resource leak: in
- ./app/tools/halibut/deflate.c:2779 [error] - Resource leak: fp
- ./app/wlib/gtklib/gtkdraw.c:539 [error] - Common realloc mistake: "points" nulled but not freed upon failure
- ./app/wlib/gtklib/gtkfilsel.c:85 [error] - Memory leak: cp
- ./app/wlib/gtklib/gtktext.c:178 [error] - Resource leak: f
- ./app/wlib/gtklib/gtkwindow.c:732 [error] - Invalid number of character (() when these macros are defined: 'LATER'.
- ./app/wlib/gtklib/psprint.c:1066 [error] - Invalid number of character ({) when these macros are defined: 'LATER'.
- ./app/wlib/mswlib/mswchksm.c:121 [error] - Resource leak: fp
- ./app/wlib/mswlib/mswdraw.c:899 [error] - Common realloc mistake: "wFillPoints" nulled but not freed upon failure
- ./app/wlib/mswlib/mswdraw.c:327 [error] - Invalid number of character ({) when these macros are defined: 'LATER'.
- ./app/wlib/mswlib/mswmenu.c:218 [error] - Memory leak: string
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:20:55 +0000, based on results by cppcheck 1.46