[php-src] PR #21793: /ext/standard: Check for empty string in linkinfo()
| From: | LamentXU123 | Date: | Sat, 18 Apr 2026 01:57:25 +0000 |
| Subject: | [php-src] PR #21793: /ext/standard: Check for empty string in linkinfo() | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-35767@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/21793
Author: LamentXU123
If link_len == 0, it now emits the same warning style as the existing filesystem error path and
returns -1 immediately, avoiding the later estrndup() / zend_dirname() work on an empty input as per
the TODO message.