cppcheck analysis of psqlodbc_08.03.0200-1.dsc
- ./connection.c:1155 [error] - Memory leak: packet
- ./connection.c:1215 [possible error] - Memory leak: conninfo
- ./connection.c:3575 [error] - Memory leak: pname
- ./convert.c:2572 [error] - Undefined behaviour: new_statement 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.
- ./info.c:3698 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./info.c:3728 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./inouealc.c:43 [error] - Memory leak: al
- ./inouealc.c:70 [error] - Memory leak: al
- ./inouealc.c:131 [error] - Memory leak: al
- ./msdtc_enlist.cpp:952 [error] - Memory leak: asdum
- ./multibyte.c:667 [possible error] - Memory leak: encspec
- ./multibyte.c:667 [possible error] - Memory leak: currenc
- ./mylog.c:64 [error] - Undefined behaviour: filename 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.
- ./pgxalib.cpp:176 [error] - Undefined behaviour: filename 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.
- ./qresult.c:645 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./qresult.c:1498 [possible error] - Memory leak: buffer
- ./results.c:3284 [possible error] - Memory leak: qval
- ./results.c:3329 [error] - Memory leak: tmp
- ./results.c:3839 [possible error] - Memory leak: cbdata
- ./results.c:4264 [possible error] - Memory leak: cbdata
- ./results.c:4430 [possible error] - Memory leak: cbdata
- ./results.c:3762 [error] - Undefined behaviour: updstr 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.
- ./results.c:3764 [error] - Undefined behaviour: updstr 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.
- ./results.c:3783 [error] - Undefined behaviour: updstr 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.
- ./results.c:4204 [error] - Undefined behaviour: addstr 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.
- ./results.c:4206 [error] - Undefined behaviour: addstr 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.
- ./results.c:4227 [error] - Undefined behaviour: addstr 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.
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, 16 Dec 2010 06:00:57 +0000, based on results by cppcheck 1.41-modif