[php-src] PR #23901: Fix Bug-81481 XML_GetCurrentByteIndex() truncation on Windows x64
| From: | marc-mabe | Date: | Fri, 25 Sep 2026 07:04:54 +0000 |
| Subject: | [php-src] PR #23901: Fix Bug-81481 XML_GetCurrentByteIndex() truncation on Windows x64 | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-38794@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/23901
Author: marc-mabe
The fix for https://bugs.php.net/bug.php?id=81481 made the
libxml compatibility wrapper return long, which is still 32-bit on Windows x64, so byte indexes
beyond 2 GiB turned negative there. Return zend_long instead and run the test on Windows too.