cppcheck analysis of psqlodbc_09.00.0200-2.dsc
- ./connection.c:1177 [error] - Memory leak: packet
- ./connection.c:1240 [error] - Memory leak: conninfo
- ./connection.c:3817 [error] - Memory leak: pname
- ./connection.c:429 [error] - Uninitialized variable: res
- ./connection.c:2330 [error] - Uninitialized variable: stmt
- ./connection.c:2363 [error] - Uninitialized variable: res
- ./connection.c:2414 [error] - Uninitialized variable: res
- ./convert.c:2957 [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.
- ./drvconn.c:436 [error] - Memory leak: our_connect_string
- ./inouealc.c:43 [error] - Memory leak: al
- ./inouealc.c:70 [error] - Memory leak: al
- ./inouealc.c:131 [error] - Memory leak: al
- ./mylog.c:66 [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:695 [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:1531 [error] - Memory leak: buffer
- ./results.c:3185 [error] - Memory leak: qval
- ./results.c:3230 [error] - Memory leak: tmp
- ./results.c:3667 [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:3669 [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:3689 [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:4125 [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:4127 [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:4149 [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 Fri, 08 Apr 2011 06:58:11 +0000, based on results by cppcheck 1.46