[php-src] PR #22726: Fix leak when cURL PREREQFUNCTION returns a string
| From: | Sjord | Date: | Tue, 14 Jul 2026 11:27:52 +0000 |
| Subject: | [php-src] PR #22726: Fix leak when cURL PREREQFUNCTION returns a string | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-37036@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/22726
Author: Sjord
The return value of the function registered with CURLOPT_PREREQFUNCTION was not cleaned up. Destroy
the return value. Increase the returned string in the test so that the address sanitizer picks up
the leak.