cppcheck analysis of freetds_0.82-7.dsc
- ./src/apps/defncopy.c:267 [error] - Resource leak: create_index
- ./src/apps/tsql.c:575 [error] - Resource leak: fp
- ./src/ctlib/unittests/ct_dynamic.c:91 [error] - Buffer access out-of-bounds: cmdbuf
- ./src/ctlib/unittests/ct_dynamic.c:102 [error] - Buffer access out-of-bounds: cmdbuf
- ./src/ctlib/unittests/ct_dynamic.c:113 [error] - Buffer access out-of-bounds: cmdbuf
- ./src/ctlib/unittests/rpc_ct_param.c:98 [error] - Buffer access out-of-bounds: cmdbuf
- ./src/ctlib/unittests/rpc_ct_param.c:342 [error] - Memory leak: coldata
- ./src/ctlib/unittests/rpc_ct_setparam.c:93 [error] - Buffer access out-of-bounds: cmdbuf
- ./src/ctlib/unittests/rpc_ct_setparam.c:404 [error] - Memory leak: coldata
- ./src/ctlib/unittests/t0009.c:80 [error] - Buffer access out-of-bounds: select
- ./src/ctlib/unittests/t0009.c:81 [error] - Buffer access out-of-bounds: select
- ./src/dblib/bcp.c:802 [error] - Resource leak: hostfile
- ./src/dblib/bcp.c:1900 [error] - Resource leak: hostfile
- ./src/dblib/unittests/t0013.c:198 [error] - Common realloc mistake: "rblob" nulled but not freed upon failure
- ./src/dblib/unittests/t0013.c:106 [error] - Memory leak: blob
- ./src/dblib/unittests/t0014.c:222 [error] - Common realloc mistake: "rblob" nulled but not freed upon failure
- ./src/replacements/vasprintf.c:115 [error] - Memory leak: buf
- ./src/server/query.c:56 [error] - Common realloc mistake: "query" nulled but not freed upon failure
- ./src/server/query.c:105 [error] - Common realloc mistake: "query" nulled but not freed upon failure
- ./src/server/query.c:122 [error] - Common realloc mistake: "query" nulled but not freed upon failure
- ./src/server/query.c:168 [error] - Common realloc mistake: "query" nulled but not freed upon failure
- ./src/tds/mem.c:824 [error] - Deallocating a deallocated pointer: cursor
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Tue, 21 Dec 2010 04:58:14 +0000, based on results by cppcheck 1.46