[php-src] PR #18049: Correct check for maximum string length in JIT helpers
| From: | nielsdos | Date: | Thu, 13 Mar 2025 20:26:15 +0000 |
| Subject: | [php-src] PR #18049: Correct check for maximum string length in JIT helpers | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-31053@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/18049
Author: nielsdos
This is a bit of a theoretical issue, but the maximum string length is actually ZSTR_MAX_LEN instead
of SIZE_MAX. The resulting check is a bit slower but should still be relatively cheap.