cppcheck analysis of postgresql-8.4_8.4.8-1.dsc
- ./contrib/pgbench/pgbench.c:1375 [error] - Common realloc mistake: "my_commands" nulled but not freed upon failure
- ./contrib/pgbench/pgbench.c:1441 [error] - Common realloc mistake: "my_commands" nulled but not freed upon failure
- ./contrib/pgbench/pgbench.c:1759 [error] - Common realloc mistake: "state" nulled but not freed upon failure
- ./src/backend/bootstrap/bootparse.c:1078 [error] - Memory leak: yyptr
- ./src/backend/optimizer/geqo/geqo_main.c:206 [error] - Uninitialized variable: kid
- ./src/backend/parser/gram.c:16019 [error] - Memory leak: yyptr
- ./src/backend/utils/adt/geo_ops.c:985 [error] - Uninitialized variable: result
- ./src/backend/utils/adt/geo_ops.c:986 [error] - Uninitialized variable: result
- ./src/backend/utils/adt/geo_ops.c:987 [error] - Uninitialized variable: result
- ./src/backend/utils/adt/geo_ops.c:999 [error] - Uninitialized variable: result
- ./src/backend/utils/adt/geo_ops.c:1000 [error] - Uninitialized variable: result
- ./src/backend/utils/adt/geo_ops.c:1001 [error] - Uninitialized variable: result
- ./src/backend/utils/adt/geo_ops.c:992 [error] - Uninitialized variable: result
- ./src/backend/utils/adt/geo_ops.c:1006 [error] - Uninitialized variable: result
- ./src/bin/pg_dump/pg_backup_archiver.c:3292 [error] - Memory leak: slots
- ./src/bin/pg_dump/pg_backup_archiver.c:3851 [error] - Memory leak: lockids
- ./src/bin/pg_dump/pg_dumpall.c:1406 [error] - Memory leak: mine
- ./src/bin/pg_resetxlog/pg_resetxlog.c:443 [error] - Memory leak: buffer
- ./src/bin/psql/command.c:948 [error] - Common realloc mistake: "newval" nulled but not freed upon failure
- ./src/bin/psql/command.c:1695 [error] - Resource leak: fd
- ./src/interfaces/ecpg/ecpglib/misc.c:117 [error] - Memory leak: sqlca
- ./src/interfaces/ecpg/ecpglib/misc.c:247 [error] - Memory leak: sqlca
- ./src/interfaces/ecpg/preproc/pgc.c:4669 [error] - Common realloc mistake: "literalbuf" nulled but not freed upon failure
- ./src/interfaces/ecpg/preproc/pgc.c:4684 [error] - Common realloc mistake: "literalbuf" nulled but not freed upon failure
- ./src/interfaces/ecpg/preproc/preproc.c:22722 [error] - Memory leak: yyptr
- ./src/interfaces/ecpg/test/expected/compat_informix-dec_test.c:86 [error] - Common realloc mistake: "decarr" nulled but not freed upon failure
- ./src/interfaces/ecpg/test/expected/compat_informix-dec_test.c:147 [error] - Common realloc mistake: "decarr" nulled but not freed upon failure
- ./src/interfaces/ecpg/test/expected/pgtypeslib-num_test2.c:75 [error] - Common realloc mistake: "numarr" nulled but not freed upon failure
- ./src/pl/plpgsql/src/pl_gram.c:1401 [error] - Memory leak: yyptr
- ./src/port/exec.c:431 [error] - Resource leak: pgver
- ./src/port/win32env.c:106 [error] - Memory leak: envcpy
- ./src/tools/entab/entab.c:223 [error] - Resource leak: in_file
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, 22 Apr 2011 06:58:16 +0000, based on results by cppcheck 1.46