php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #67684 compiler warnings
Submitted: 2014-07-25 13:29 UTC Modified: -
Votes:8
Avg. Score:4.0 ± 1.3
Reproduced:6 of 6 (100.0%)
Same Version:1 (16.7%)
Same OS:6 (100.0%)
From: spam2 at rhsoft dot net Assigned:
Status: Open Package: Compile Warning
PHP Version: 5.5.15 OS: Linux
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2014-07-25 13:29 UTC] spam2 at rhsoft dot net
Description:
------------
maybe these are worth a look to find hidden bugs and optimize security

/php-5.5.15/ext/zlib/zlib.c:1023:2: warning: initialization from incompatible pointer type [enabled by default]

/php-5.5.15/ext/zlib/zlib.c:1023:2: warning: (near initialization for 'php_zlib_module_entry.globals_ctor') [enabled by default]

/php-5.5.15/ext/openssl/xp_ssl.c:330:11: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]

/php-5.5.15/ext/openssl/xp_ssl.c:338:11: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]

/php-5.5.15/ext/openssl/xp_ssl.c:343:11: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]

/php-5.5.15/ext/openssl/xp_ssl.c:347:11: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]

/php-5.5.15/ext/openssl/xp_ssl.c:351:11: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]

/php-5.5.15/ext/openssl/xp_ssl.c:355:11: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]

/php-5.5.15/ext/openssl/xp_ssl.c:363:11: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]

/php-5.5.15/ext/openssl/xp_ssl.c:368:11: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]

/php-5.5.15/ext/mcrypt/mcrypt_filter.c:210:2: warning: passing argument 1 of 'mcrypt_module_open' discards 'const' qualifier from pointer target type [enabled by default]

/php-5.5.15/ext/mysqli/mysqli_nonapi.c:81:7: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'unsigned int' [-Wformat=]

/php-5.5.15/ext/session/session.c:862:2: warning: passing argument 2 of 'php_var_unserialize' from incompatible pointer type [enabled by default]

/php-5.5.15/Zend/zend_API.h:66:23: warning: stack protector not protecting local variables: variable length buffer [-Wstack-protector]

/php-5.5.15/ext/reflection/php_reflection.c:1205:13: warning: stack protector not protecting local variables: variable length buffer [-Wstack-protector]

/php-5.5.15/ext/spl/php_spl.c:65:27: warning: stack protector not protecting local variables: variable length buffer [-Wstack-protector]

/php-5.5.15/ext/standard/crypt_sha512.c:375:1: warning: stack protector not protecting local variables: variable length buffer [-Wstack-protector]

/php-5.5.15/ext/standard/crypt_sha256.c:340:8: warning: stack protector not protecting local variables: variable length buffer [-Wstack-protector]

/php-5.5.15/ext/standard/php_string.h:159:100: warning: pointer/integer type mismatch in conditional expression [enabled by default]

/php-5.5.15/ext/standard/php_string.h:159:31: warning: initialization makes integer from pointer without a cast [enabled by default]

/php-5.5.15/ext/standard/php_string.h:159:100: warning: pointer/integer type mismatch in conditional expression [enabled by default]

/php-5.5.15/ext/standard/php_string.h:159:31: warning: initialization makes integer from pointer without a cast [enabled by default]

/php-5.5.15/ext/standard/php_string.h:159:100: warning: pointer/integer type mismatch in conditional expression [enabled by default]

/php-5.5.15/ext/standard/file.c:1776:30: warning: pointer/integer type mismatch in conditional expression [enabled by default]

/php-5.5.15/ext/standard/file.c:1776:11: warning: assignment makes integer from pointer without a cast [enabled by default]

/php-5.5.15/ext/standard/php_string.h:159:100: warning: pointer/integer type mismatch in conditional expression [enabled by default]

/php-5.5.15/ext/standard/php_string.h:159:100: warning: pointer/integer type mismatch in conditional expression [enabled by default]

/php-5.5.15/ext/standard/php_string.h:159:100: warning: pointer/integer type mismatch in conditional expression [enabled by default]

/php-5.5.15/ext/standard/php_string.h:159:100: warning: pointer/integer type mismatch in conditional expression [enabled by default]

/php-5.5.15/ext/standard/php_string.h:159:100: warning: pointer/integer type mismatch in conditional expression [enabled by default]

/php-5.5.15/ext/standard/file.c:2075:47: warning: pointer/integer type mismatch in conditional expression [enabled by default]

/php-5.5.15/ext/standard/file.c:2075:11: warning: assignment makes integer from pointer without a cast [enabled by default]

/php-5.5.15/ext/standard/php_string.h:159:100: warning: pointer/integer type mismatch in conditional expression [enabled by default]

/php-5.5.15/ext/standard/php_string.h:159:100: warning: pointer/integer type mismatch in conditional expression [enabled by default]

/php-5.5.15/ext/standard/php_string.h:159:100: warning: pointer/integer type mismatch in conditional expression [enabled by default]

/php-5.5.15/ext/standard/file.c:2219:49: warning: pointer/integer type mismatch in conditional expression [enabled by default]

/php-5.5.15/ext/standard/file.c:2219:13: warning: assignment makes integer from pointer without a cast [enabled by default]

/php-5.5.15/ext/standard/php_string.h:159:100: warning: pointer/integer type mismatch in conditional expression [enabled by default]

/php-5.5.15/ext/standard/php_string.h:159:100: warning: pointer/integer type mismatch in conditional expression [enabled by default]

/php-5.5.15/ext/standard/php_string.h:159:100: warning: pointer/integer type mismatch in conditional expression [enabled by default]

/php-5.5.15/ext/standard/file.c:2243:49: warning: pointer/integer type mismatch in conditional expression [enabled by default]

/php-5.5.15/ext/standard/file.c:2243:13: warning: assignment makes integer from pointer without a cast [enabled by default]

/php-5.5.15/ext/standard/php_string.h:159:100: warning: pointer/integer type mismatch in conditional expression [enabled by default]

/php-5.5.15/ext/standard/php_string.h:159:100: warning: pointer/integer type mismatch in conditional expression [enabled by default]

/php-5.5.15/ext/standard/php_string.h:159:100: warning: pointer/integer type mismatch in conditional expression [enabled by default]

/php-5.5.15/ext/standard/file.c:2274:49: warning: pointer/integer type mismatch in conditional expression [enabled by default]

/php-5.5.15/ext/standard/file.c:2274:13: warning: assignment makes integer from pointer without a cast [enabled by default]

/php-5.5.15/ext/standard/php_string.h:159:100: warning: pointer/integer type mismatch in conditional expression [enabled by default]

/php-5.5.15/ext/standard/string.c:1425:28: warning: pointer/integer type mismatch in conditional expression [enabled by default]

/php-5.5.15/ext/standard/string.c:1425:11: warning: assignment makes integer from pointer without a cast [enabled by default]

/php-5.5.15/ext/standard/php_string.h:159:100: warning: pointer/integer type mismatch in conditional expression [enabled by default]

/php-5.5.15/ext/standard/php_string.h:159:100: warning: pointer/integer type mismatch in conditional expression [enabled by default]

/php-5.5.15/ext/standard/var.c:439:3: warning: conversion lacks type at end of format [-Wformat=]

/php-5.5.15/TSRM/tsrm_virtual_cwd.c:750:12: warning: stack protector not protecting local variables: variable length buffer [-Wstack-protector]

/php-5.5.15/TSRM/tsrm_virtual_cwd.c:1365:13: warning: stack protector not protecting local variables: variable length buffer [-Wstack-protector]

/php-5.5.15/main/main.c:2423:12: warning: stack protector not protecting local variables: variable length buffer [-Wstack-protector]

/php-5.5.15/main/main.c:2527:12: warning: stack protector not protecting local variables: variable length buffer [-Wstack-protector]

/php-5.5.15/main/php_variables.c:55:13: warning: stack protector not protecting local variables: variable length buffer [-Wstack-protector]

/php-5.5.15/TSRM/tsrm_virtual_cwd.h:290:39: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result]

/php-5.5.15/Zend/zend_constants.c:227:12: warning: stack protector not protecting local variables: variable length buffer [-Wstack-protector]

/php-5.5.15/Zend/zend_compile.c:4013:9: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]

/php-5.5.15/Zend/zend_execute_API.c:1011:14: warning: stack protector not protecting local variables: variable length buffer [-Wstack-protector]

/php-5.5.15/Zend/zend_API.h:65:23: warning: stack protector not protecting local variables: variable length buffer [-Wstack-protector]

/php-5.5.15/Zend/zend_API.h:65:23: warning: stack protector not protecting local variables: variable length buffer [-Wstack-protector]

/php-5.5.15/Zend/zend_API.h:65:23: warning: stack protector not protecting local variables: variable length buffer [-Wstack-protector]

/php-5.5.15/Zend/zend_closures.c:183:23: warning: stack protector not protecting local variables: variable length buffer [-Wstack-protector]

/php-5.5.15/Zend/zend_compile.c:1527:6: warning: stack protector not protecting local variables: variable length buffer [-Wstack-protector]

/php-5.5.15/Zend/zend_object_handlers.c:1005:30: warning: stack protector not protecting local variables: variable length buffer [-Wstack-protector]

/php-5.5.15/Zend/zend_object_handlers.c:1150:25: warning: stack protector not protecting local variables: variable length buffer [-Wstack-protector]

/php-5.5.15/ext/intl/collator/collator_is_numeric.c:34:15: warning: stack protector not protecting local variables: variable length buffer [-Wstack-protector]

/php-5.5.15/ext/intl/timezone/timezone_methods.cpp:251:16: warning: 'int zend_get_parameters_ex(int, ...)' is deprecated (declared at /php-5.5.15/Zend/zend_API.h:238) [-Wdeprecated-declarations]

/php-5.5.15/ext/intl/timezone/timezone_methods.cpp:251:67: warning: 'int zend_get_parameters_ex(int, ...)' is deprecated (declared at /php-5.5.15/Zend/zend_API.h:238) [-Wdeprecated-declarations]

/php-5.5.15/ext/intl/breakiterator/breakiterator_iterators.cpp:253:24: warning: stack protector not protecting local variables: variable length buffer [-Wstack-protector]

/php-5.5.15/ext/intl/breakiterator/breakiterator_methods.cpp:165:12: warning: 'int zend_get_parameters_ex(int, ...)' is deprecated (declared at /php-5.5.15/Zend/zend_API.h:238) [-Wdeprecated-declarations]

/php-5.5.15/ext/intl/breakiterator/breakiterator_methods.cpp:165:45: warning: 'int zend_get_parameters_ex(int, ...)' is deprecated (declared at /php-5.5.15/Zend/zend_API.h:238) [-Wdeprecated-declarations]

/php-5.5.15/ext/intl/breakiterator/breakiterator_methods.cpp:278:13: warning: 'int zend_get_parameters_ex(int, ...)' is deprecated (declared at /php-5.5.15/Zend/zend_API.h:238) [-Wdeprecated-declarations]

/php-5.5.15/ext/intl/breakiterator/breakiterator_methods.cpp:278:43: warning: 'int zend_get_parameters_ex(int, ...)' is deprecated (declared at /php-5.5.15/Zend/zend_API.h:238) [-Wdeprecated-declarations]

/php-5.5.15/ext/mbstring/oniguruma/regexec.c:1238:1: warning: stack protector not protecting local variables: variable length buffer [-Wstack-protector]

/php-5.5.15/ext/mbstring/oniguruma/regcomp.c:1894:1: warning: stack protector not protecting local variables: variable length buffer [-Wstack-protector]

/php-5.5.15/ext/mbstring/oniguruma/regexec.c:3049:1: warning: stack protector not protecting local variables: variable length buffer [-Wstack-protector]

/php-5.5.15/ext/mbstring/oniguruma/regexec.c:3350:1: warning: stack protector not protecting local variables: variable length buffer [-Wstack-protector]

/php-5.5.15/ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_mobile.c:51:2: warning: initialization from incompatible pointer type [enabled by default]

/php-5.5.15/ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_mobile.c:51:2: warning: (near initialization for 'mbfl_encoding_2022jp_kddi.aliases') [enabled by default]

/php-5.5.15/ext/pdo/pdo_stmt.c:323:4: warning: conversion lacks type at end of format [-Wformat=]

/php-5.5.15/ext/wddx/wddx.c:531:4: warning: passing argument 2 of 'zend_hash_get_current_key_ex' from incompatible pointer type [enabled by default]

/php-5.5.15/ext/wddx/wddx.c:535:5: warning: passing argument 3 of 'php_wddx_serialize_var' discards 'const' qualifier from pointer target type [enabled by default]

/php-5.5.15/ext/xsl/xsltprocessor.c:672:18: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]

/php-5.5.15/ext/zip/lib/zip_source_pkware.c:84:6: warning: assignment from incompatible pointer type [enabled by default]

/php-5.5.15/sapi/cli/php_cli_server.c:507:13: warning: stack protector not protecting local variables: variable length buffer [-Wstack-protector]

/php-5.5.15/ext/opcache/Optimizer/nop_removal.c:5:13: warning: stack protector not protecting local variables: variable length buffer [-Wstack-protector]

/php-5.5.15/sapi/cli/php_cli_server.c:2113:12: warning: stack protector not protecting local variables: variable length buffer [-Wstack-protector]

/php-5.5.15/ext/opcache/Optimizer/block_pass.c:4:12: warning: stack protector not protecting local variables: variable length buffer [-Wstack-protector]

/php-5.5.15/ext/opcache/Optimizer/zend_optimizer.c:328:6: warning: stack protector not protecting local variables: variable length buffer [-Wstack-protector]



Patches

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Tue Mar 19 21:01:27 2019 UTC