[php-src] PR #13105: Fix GH-13094: range(9.9, '0') causes segmentation fault

From: Date: Tue, 09 Jan 2024 19:29:20 +0000
Subject: [php-src] PR #13105: Fix GH-13094: range(9.9, '0') causes segmentation fault
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-24706@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/13105 Author: nielsdos start_type + end_type < 2*IS_STRING is not right, in this test case the types are start_type==5 (IS_DOUBLE), end_type==7 (IS_ARRAY). The IS_ARRAY type is a sentinel to disambiguate single-byte strings. The path must be taken when one of the types is not a string nor a single-byte string. Therefore, use < IS_STRING with an OR condition.

« previous php.git-pulls (#24706) next »