Ti-Mis
Ti-Mis
Hi, I’ve found a potential issue in the code. Could you confirm or refute it? ### Description In src/redis-cli.c, clusterManagerCommandCreate() assigns hash slots to masters without bounding the number of...
Hi, I analyzed the source code using Svace and found an interesting bug. Problem In ClientConfig(), the cert variable is initially nil and is assigned a value only when CertFile...
### Description Hi, my static analyzer, Svace, has found a potential bug. Could you take a look and provide some feedback? (File - /ext/dom/php_dom.c) The function php_dom_create_fake_namespace_decl_node_ptr() dereferences the return...
### Description Hi, I found a potential bug. Could you take a look and provide some feedback? ## File: pcre2lib/pcre2_pattern_info.c ### Description The function php_pcre2_callout_enumerate() walks the compiled bytecode without...
### Description Potential problem Hi! I was analyzing the source code and came across a potential issue in [Zend/Optimizer/sccp.c](https://github.com/php/php-src/blob/6b2b60f683afbdb649862273c8de570e963c1b17/Zend/Optimizer/sccp.c#L1340). In the following line: if (ct_eval_fetch_obj(&tmp, op1, op2) == SUCCESS) {...
### Description Hi, It seemed to me that a null dereference could potentially occur [here](https://github.com/php/php-src/blob/b527e1b34ee97f4ea402e36a641509af7436759d/Zend/Optimizer/sccp.c#L1372). A NULL pointer dereference can occur in sccp_visit_instr() when processing ZEND_ASSIGN_OBJ_OP. The op2 operand is...
### Description Hi, It seemed to me that a negative signed value could potentially be converted to a large unsigned value [here](https://github.com/Ti-Mis/php-src/blob/b527e1b34ee97f4ea402e36a641509af7436759d/ext/standard/image.c#L816). A potential signed-to-unsigned conversion issue exists in php_handle_tiff()...
### Description Problem: Svace reports a potential SIGN_EXTENSION issue in SplFixedArray::__serialize() in [ext/spl/spl_fixedarray.c](https://github.com/php/php-src/blob/c79284711bd8e610fb882bfdad48584b86fcdc62/ext/spl/spl_fixedarray.c#L603). The warning concerns the conversion of num_properties from uint32_t to zend_long in the expression intern->array.size + num_properties,...
Hi! I found a potential null dereference issue using the Svace static analyzer. Problem IdoMysqlConnection::OnConfigLoaded() obtains the create_mysql_shim function from the MySQL shim library using Library::GetSymbolAddress() and immediately calls the...
Hi, My static analysis tool, Svace, detected a potential integer overflow in the time_string_to_seconds() function in [common.c](https://github.com/linux-audit/audit-userspace/blob/dfda9708910e4e72412e68d638087b29522df386/common/common.c#L149) and in the block_address_time_parser() function in [ids_config.c](https://github.com/linux-audit/audit-userspace/blob/dfda9708910e4e72412e68d638087b29522df386/audisp/plugins/ids/ids_config.c#L504)/ **Potential problem** The value of i...