cppcheck analysis of postgresql-8.4_8.4.3-1.dsc
- ./contrib/cube/cube.c:1423 [possible error] - Array 'x[1]' index 1 out of bounds
- ./contrib/cube/cube.c:1442 [possible error] - Array 'x[1]' index 1 out of bounds
- ./contrib/isn/isn.c:369 [error] - Uninitialized variable: buf
- ./contrib/pgbench/pgbench.c:1309 [error] - Memory leak: my_commands
- ./src/backend/access/heap/syncscan.c:154 [error] - Buffer access out-of-bounds: scan_locations.items
- ./src/backend/utils/fmgr/dfmgr.c:271 [error] - Deallocating a deallocated pointer: file_scanner
- ./src/bin/pg_dump/pg_backup_archiver.c:1796 [possible error] - Resource leak: fh
- ./src/bin/pg_dump/pg_backup_archiver.c:3237 [error] - Memory leak: slots
- ./src/bin/pg_dump/pg_backup_archiver.c:3796 [possible error] - Memory leak: lockids
- ./src/bin/pg_dump/pg_dumpall.c:1312 [error] - Memory leak: default_encoding
- ./src/bin/pg_dump/pg_dumpall.c:1312 [error] - Memory leak: default_collate
- ./src/bin/pg_dump/pg_dumpall.c:1312 [error] - Memory leak: default_ctype
- ./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:1695 [error] - Resource leak: fd
- ./src/interfaces/libpq/fe-exec.c:3260 [possible error] - Memory leak: buffer
- ./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 Thu, 16 Dec 2010 06:00:49 +0000, based on results by cppcheck 1.41-modif