cppcheck analysis of psqlodbc_08.03.0200-1.2.dsc
- ./connection.c:1155 [error] - Memory leak: packet
- ./connection.c:1215 [error] - Memory leak: conninfo
- ./connection.c:3575 [error] - Memory leak: pname
- ./connection.c:444 [error] - Uninitialized variable: res
- ./connection.c:2170 [error] - Uninitialized variable: res
- ./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.
- ./inouealc.c:43 [error] - Memory leak: al
- ./inouealc.c:70 [error] - Memory leak: al
- ./inouealc.c:131 [error] - Memory leak: al
- ./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.
- ./odbcapiw.c:246 [error] - Common realloc mistake: "clName" nulled but not freed upon failure
- ./odbcapiw.c:322 [error] - Common realloc mistake: "crName" nulled but not freed upon failure
- ./odbcapiw.c:692 [error] - Common realloc mistake: "szOut" nulled but not freed upon failure
- ./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:1498 [error] - Memory leak: buffer
- ./results.c:3284 [error] - Memory leak: qval
- ./results.c:3329 [error] - Memory leak: tmp
- ./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 Mon, 20 Dec 2010 21:18:00 +0000, based on results by cppcheck 1.46