-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 0.1.3
-
Component/s: None
-
None
CID-49598
CID 49572: Incorrect sizeof expression (BAD_SIZEOF) [select issue] CID 49598 (#1 of 1): Wrong sizeof argument (SIZEOF_MISMATCH)suspicious_sizeof: Passing argument (*tmp)->value.str.val of type char * and argument 8U /* sizeof ((char *)"phongo.debug_log") */ to function zend_alter_ini_entry_ex is suspicious. 108 zend_alter_ini_entry_ex(ZEND_STRS((char *)"phongo.debug_log"), Z_STRVAL_PP(tmp), Z_STRLEN_PP(tmp), PHP_INI_USER, PHP_INI_STAGE_RUNTIME, 0 TSRMLS_CC);
ID 49598 (#1 of 1): Wrong sizeof argument (SIZEOF_MISMATCH)suspicious_sizeof: Passing argument (*tmp)->value.str.val of type char * and argument 8U /* sizeof ((char *)"phongo.debug_log") */ to function zend_alter_ini_entry_ex is suspicious. 108 zend_alter_ini_entry_ex(ZEND_STRS((char *)"phongo.debug_log"), Z_STRVAL_PP(tmp), Z_STRLEN_PP(tmp), PHP_INI_USER, PHP_INI_STAGE_RUNTIME, 0 TSRMLS_CC); 109 }
CID 49598: Wrong sizeof argument (SIZEOF_MISMATCH) [select issue] CID 49572 (#1 of 1): Incorrect sizeof expression (BAD_SIZEOF)bad_sizeof: Taking the size of "phongo.debug_log", which is the address of an object, is suspicious. Did you intend the size of "phongo.debug_log" itself?
- is related to
-
PHPC-123 Wrong sizeof modifying INI in server.c
- Closed