cppcheck analysis of php5_5.3.1-5.dsc
- ./ext/date/lib/parse_tz.c:103 [error] - Memory leak: buffer
- ./ext/date/lib/parse_tz.c:128 [error] - Memory leak: buffer
- ./ext/date/lib/parse_tz.c:156 [error] - Memory leak: leap_buffer
- ./ext/date/php_date.c:2439 [possible error] - Memory leak: new_abbr
- ./ext/fileinfo/libmagic/apptype.c:76 [error] - Resource leak: fp
- ./ext/fileinfo/libmagic/compress.c:280 [error] - Resource leak: tfd
- ./ext/fileinfo/libmagic/compress.c:342 [error] - Invalid number of character (() when these macros are defined: 'PHP_FILEINFO_UNCOMPRESS'.
- ./ext/fileinfo/libmagic/compress.c:342 [error] - Invalid number of character (() when these macros are defined: 'PHP_FILEINFO_UNCOMPRESS;DEBUG'.
- ./ext/fileinfo/libmagic/compress.c:342 [error] - Invalid number of character (() when these macros are defined: 'PHP_FILEINFO_UNCOMPRESS;WNOHANG'.
- ./ext/gd/gd.c:3910 [error] - Uninitialized variable: angle
- ./ext/mbstring/oniguruma/regposix.c:186 [possible error] - Memory leak: pm
- ./ext/mysqli/mysqli_api.c:970 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./ext/mysqli/mysqli_api.c:970 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_CONFIG_H'.
- ./ext/mysqli/mysqli_api.c:970 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_SPL'.
- ./ext/mysqli/mysqli_api.c:970 [error] - Invalid number of character ({) when these macros are defined: 'LIST'.
- ./ext/mysqli/mysqli_api.c:970 [error] - Invalid number of character ({) when these macros are defined: 'MYSQLND_VERSION_ID'.
- ./ext/mysqli/mysqli_api.c:970 [error] - Invalid number of character ({) when these macros are defined: 'PHP_MYSQL_UNIX_SOCK_ADDR'.
- ./ext/mysqli/mysqli_api.c:970 [error] - Invalid number of character ({) when these macros are defined: 'PHP_WIN32'.
- ./ext/mysqli/mysqli_api.c:970 [error] - Invalid number of character ({) when these macros are defined: 'ZTS'.
- ./ext/mysqli/mysqli_api.c:970 [error] - Invalid number of character ({) when these macros are defined: '__GNUC__'.
- ./ext/sqlite3/libsqlite/sqlite3.c:13800 [possible error] - Resource leak: out
- ./ext/sqlite3/libsqlite/sqlite3.c:14383 [possible error] - Resource leak: out
- ./ext/sqlite3/libsqlite/sqlite3.c:88552 [error] - Uninitialized variable: iReg
- ./ext/zip/lib/zip_close.c:138 [error] - Memory leak: filelist
- ./main/php_scandir.c:95 [error] - Resource leak: dirp
- ./sapi/isapi/stresstest/stresstest.cpp:588 [possible error] - Memory leak: environment
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:15 +0000, based on results by cppcheck 1.41-modif