cppcheck analysis of tn5250_0.17.4-2.dsc
- ./curses/cursesterm.c:1496 [error] - Memory leak: prttext
- ./lib5250/conf.c:485 [error] - Memory leak: opt
- ./lib5250/display.c:3534 [error] - Undefined behaviour: line 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.
- ./lib5250/display.c:3538 [error] - Undefined behaviour: line 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.
- ./lib5250/display.c:3554 [error] - Undefined behaviour: line 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.
- ./lp5250d/lp5250d.c:229 [error] - Array 'options[4]' index 4 out of bounds
- ./lp5250d/lp5250d.c:230 [error] - Array 'options[4]' index 4 out of bounds
- ./lp5250d/lp5250d.c:231 [error] - Array 'options[4]' index 4 out of bounds
- ./lp5250d/lp5250d.c:232 [error] - Array 'options[4]' index 4 out of bounds
- ./lp5250d/scs2pdf.c:515 [error] - Resource leak: initfile
- ./lp5250d/scs2ps.c:101 [error] - Uninitialized variable: pagewidth
- ./lp5250d/scs2ps.c:102 [error] - Uninitialized variable: pagelength
- ./lp5250d/scs2ps.c:103 [error] - Uninitialized variable: cpi
- ./win32/mkconfig.c:605 [error] - Uninitialized variable: in
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:13 +0000, based on results by cppcheck 1.46