[php-src] PR #20169: exif: Fix possible memory leak when tag is empty
| From: | nielsdos | Date: | Tue, 14 Oct 2025 20:24:35 +0000 |
| Subject: | [php-src] PR #20169: exif: Fix possible memory leak when tag is empty | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-33646@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/20169
Author: nielsdos
When
!value_ptr is handled, memory is allocated at line 3314. At later exit paths,
outside (pointing to value_ptr) is freed, but not when exiting via the
REQUIRE_NON_EMPTY macro.