cppcheck analysis of postgis_1.5.0-1.dsc
- ./doc/html/image_src/generator.c:357 [error] - Dangerous usage of 'filename' (strncpy doesn't always 0-terminate it)
- ./loader/dbfopen.c:592 [error] - Memory leak: pszFullname
- ./loader/pgsql2shp.c:2370 [error] - Memory leak: pszFullname
- ./loader/shp2pgsql-core.c:1191 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./loader/shpopen.c:477 [error] - Memory leak: pabyBuf
- ./loader/shpopen.c:675 [error] - Memory leak: pszBasename
- ./loader/shpopen.c:675 [error] - Memory leak: pszFullname
- ./loader/shpopen.c:680 [error] - Resource leak: fpSHP
- ./postgis/geography_btree.c:36 [possible error] - Array 'c[1]' index 1 out of bounds
- ./postgis/geography_btree.c:37 [possible error] - Array 'c[1]' index 2 out of bounds
- ./postgis/geography_btree.c:37 [possible error] - Array 'c[1]' index 3 out of bounds
- ./postgis/geography_btree.c:38 [possible error] - Array 'c[1]' index 4 out of bounds
- ./postgis/geography_btree.c:38 [possible error] - Array 'c[1]' index 5 out of bounds
- ./postgis/geography_gist.c:209 [possible error] - Array 'c[1]' index 1 out of bounds
- ./postgis/geography_gist.c:254 [possible error] - Array 'c[1]' index 1 out of bounds
- ./postgis/geography_gist.c:291 [possible error] - Array 'c[1]' index 1 out of bounds
- ./postgis/geography_gist.c:318 [possible error] - Array 'c[1]' index 1 out of bounds
- ./postgis/geography_gist.c:319 [possible error] - Array 'c[1]' index 2 out of bounds
- ./postgis/geography_gist.c:320 [possible error] - Array 'c[1]' index 3 out of bounds
- ./postgis/geography_gist.c:325 [possible error] - Array 'c[1]' index 4 out of bounds
- ./postgis/geography_gist.c:326 [possible error] - Array 'c[1]' index 5 out of bounds
- ./postgis/geography_gist.c:333 [possible error] - Array 'c[1]' index 4 out of bounds
- ./postgis/geography_gist.c:334 [possible error] - Array 'c[1]' index 5 out of bounds
- ./postgis/geography_gist.c:337 [possible error] - Array 'c[1]' index 6 out of bounds
- ./postgis/geography_gist.c:338 [possible error] - Array 'c[1]' index 7 out of bounds
- ./postgis/geography_gist.c:344 [possible error] - Array 'c[1]' index 4 out of bounds
- ./postgis/geography_gist.c:345 [possible error] - Array 'c[1]' index 5 out of bounds
- ./postgis/geography_gist.c:369 [possible error] - Array 'c[1]' index 2 out of bounds
- ./postgis/geography_gist.c:370 [possible error] - Array 'c[1]' index 4 out of bounds
- ./postgis/geography_gist.c:371 [possible error] - Array 'c[1]' index 1 out of bounds
- ./postgis/geography_gist.c:372 [possible error] - Array 'c[1]' index 3 out of bounds
- ./postgis/geography_gist.c:373 [possible error] - Array 'c[1]' index 5 out of bounds
- ./postgis/lwgeom_geos.c:2976 [error] - Memory leak: geoms
- ./postgis/postgis.sql.in.c:2347 [error] - No pair for character ('). Can't process file. File is either invalid or unicode, which is currently not supported.
- ./postgis/sqlmm.sql.in.c:13 [error] - Invalid number of character (() when these macros are defined: ''.
- ./postgis/uninstall_sqlmm.sql.in.c:17 [error] - Invalid number of character (() when these macros are defined: ''.
- ./topology/topology.sql.in.c:3801 [error] - No pair for character ('). Can't process file. File is either invalid or unicode, which is currently not supported.
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