Bug #65433 [Fbk->NoF]: Static analyzer errors
| From: | php-bugs at lists dot php dot net | Date: | Sun, 14 Mar 2021 04:22:08 +0000 |
| Subject: | Bug #65433 [Fbk->NoF]: Static analyzer errors | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-232692@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=65433&edit=1
ID: 65433
Updated by: php-bugs@lists.php.net
Reported by: devzone dot my at gmail dot com
Summary: Static analyzer errors
-Status: Feedback
+Status: No Feedback
Type: Bug
Package: *General Issues
Operating System: all
PHP Version: Irrelevant
Assigned To: cmb
Private report: N
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2021-03-04 12:52:29] cmb@php.net
Is this still an issue with any of the actively supported PHP
versions[1]?
[1] <https://www.php.net/supported-versions.php>
------------------------------------------------------------------------
[2013-08-10 13:16:42] felipe@php.net
I just see a lot of false positive ones there.
------------------------------------------------------------------------
[2013-08-10 00:05:53] devzone dot my at gmail dot com
Description:
------------
Version: 5.5.1 (Release)
**sapi**
[sapi/cgi/fastcgi.c:887]: (error) Uninitialized variable: hdr
[sapi/cli/php_cli.c:1289]: (error) Common realloc mistake: 'ini_entries' nulled
but not freed upon failure
[sapi/cli/php_cli.c:1299]: (error) Common realloc mistake: 'ini_entries' nulled
but not freed upon failure
[sapi/cli/php_cli.c:1305]: (error) Common realloc mistake: 'ini_entries' nulled
but not freed upon failure
[sapi/cli/php_cli.c:1345]: (error) Common realloc mistake: 'ini_entries' nulled
but not freed upon failure
[sapi/cgi/cgi_main.c:1547]: (error) Possible null pointer dereference: str
[sapi/fpm/fpm/fastcgi.c:513]: (error) Uninitialized variable: hdr
[sapi/fpm/fpm/fpm_sockets.c:80]: (error) Common realloc mistake: 'env_value'
nulled but not freed upon failure
[sapi/isapi/stresstest/stresstest.cpp:589]: (error) Memory leak: environment
[sapi/tux/php_tux.c:143]: (error) Common realloc mistake: 'vec' nulled but not
freed upon failure
**main**
[main/php_ini.c:675]: (error) Common realloc mistake: 'php_ini_scanned_files'
nulled but not freed upon failure
**win32**
[win32/readdir.c:48]: (error) Memory leak: filespec
**TSRM**
[TSRM/TSRM.c:229]: (error) Common realloc mistake: 'resource_types_table' nulled
but not freed upon failure
[TSRM/TSRM.c:617]: (error) Uninitialized variable: mutexp
**ext**
[ereg/regex/regcomp.c:205]: (error) Uninitialized variable: c
[gd/libgd/gd_topal.c:1464]: (error) Uninitialized variable: shift_temp
[intl/calendar/calendar_methods.cpp:566]: (error) Uninitialized variable:
variant
[intl/resourcebundle/resourcebundle_class.c:177]: (error) Uninitialized
variable: rb
[intl/resourcebundle/resourcebundle_class.c:181]: (error) Uninitialized
variable: rb
[mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c:257]: (error) Buffer is
accessed out of bounds.
[mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c:493]: (error) Resource
leak: fp
[mbstring/libmbfl/mbfl/mbfilter.c:1180]: (error) Uninitialized variable:
needle_u8
[mbstring/oniguruma/enc/euc_jp.c:204]: (error) Uninitialized variable: r
[mbstring/oniguruma/enc/sjis.c:238]: (error) Uninitialized variable: r
[mbstring/oniguruma/regenc.c:852]: (error) Common realloc mistake: 'list' nulled
but not freed upon failure
[mbstring/ucgendat/ucgendat.c:484]: (error) Common realloc mistake: 'pdecomps'
nulled but not freed upon failure
[mbstring/ucgendat/ucgendat.c:546]: (error) Common realloc mistake: 'title'
nulled but not freed upon failure
[mbstring/ucgendat/ucgendat.c:593]: (error) Common realloc mistake: 'upper'
nulled but not freed upon failure
[mbstring/ucgendat/ucgendat.c:640]: (error) Common realloc mistake: 'lower'
nulled but not freed upon failure
[mbstring/ucgendat/ucgendat.c:675]: (error) Common realloc mistake: 'ccl' nulled
but not freed upon failure
[mbstring/ucgendat/ucgendat.c:756]: (error) Common realloc mistake: 'nums'
nulled but not freed upon failure
[mbstring/ucgendat/ucgendat.c:794]: (error) Common realloc mistake: 'ncodes'
nulled but not freed upon failure
[mbstring/oniguruma/regexec.c:2230]: (error) Uninitialized variable: len
[mbstring/oniguruma/regexec.c:2269]: (error) Uninitialized variable: len
[opcache/zend_accelerator_blacklist.c:133]: (error) Memory leak: regexp
[oci8/oci8.c:2817]: (error) Memory leak: session_pool
[opcache/zend_accelerator_blacklist.c:243]: (error) Resource leak: fp
[opcache/zend_accelerator_util_funcs.c:479]: (error) Uninitialized variable:
new_ce
[opcache/zend_accelerator_util_funcs.c:488]: (error) Uninitialized variable:
new_prototype
[opcache/zend_accelerator_util_funcs.c:590]: (error) Uninitialized variable:
new_ce
[odbc/php_odbc.c:2458]: (error) Uninitialized variable: rc
[snmp/snmp.c:1510]: (error) Uninitialized variable: a3
[snmp/snmp.c:1510]: (error) Uninitialized variable: a4
[snmp/snmp.c:1510]: (error) Uninitialized variable: a5
[snmp/snmp.c:1510]: (error) Uninitialized variable: a6
[snmp/snmp.c:1510]: (error) Uninitialized variable: a7
[standard/crypt_sha256.c:401]: (error) Possible null pointer dereference:
copied_salt
[standard/crypt_sha512.c:435]: (error) Possible null pointer dereference:
copied_salt
[sybase_ct/php_sybase_ct.c:792]: (error) Dereferencing 'sybase_ptr' after it is
deallocated / released
[sybase_ct/php_sybase_ct.c:796]: (error) Memory pointed to by 'sybase_ptr' is
freed twice.
Test script:
---------------
cppcheck php-5.5.1 -j4 2> err.txt
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=65433&edit=1