You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In /php-src/Zend/zend_ini.c, a pointer variable named 'p' is defined at line 206. At line 227, this pointer 'p' allocates a dynamic memory region using the pemalloc function. If the if statement at line 242 evaluates to true, the function returns at line 247 without either utilizing or freeing the dynamic memory region pointed to by 'p'. This constitutes a memory leak defect, as illustrated in the following diagram: https://github.com/LuMingYinDetect/php_defects/blob/main/php_2.png
PHP Version
PHP 8.4.0
Operating System
Ubuntu 22.04
The text was updated successfully, but these errors were encountered:
Description
In /php-src/Zend/zend_ini.c, a pointer variable named 'p' is defined at line 206. At line 227, this pointer 'p' allocates a dynamic memory region using the pemalloc function. If the if statement at line 242 evaluates to true, the function returns at line 247 without either utilizing or freeing the dynamic memory region pointed to by 'p'. This constitutes a memory leak defect, as illustrated in the following diagram:
https://github.com/LuMingYinDetect/php_defects/blob/main/php_2.png
PHP Version
PHP 8.4.0
Operating System
Ubuntu 22.04
The text was updated successfully, but these errors were encountered: