[php-src] PR #20773: Fix GH-20771: Assertion failure when getUnicodeHost() returns empty string
| From: | ndossche | Date: | Tue, 23 Dec 2025 18:15:18 +0000 |
| Subject: | [php-src] PR #20773: Fix GH-20771: Assertion failure when getUnicodeHost() returns empty string | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-34366@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/20773
Author: ndossche
If nothing was added to a smart_str, the interned empty string is returned, and therefore
ZVAL_NEW_STR is wrong as it'll set the REFCOUNTED flag.