1
0
mirror of https://github.com/php/php-src.git synced 2026-04-24 08:28:26 +02:00
Files
archived-php-src/ext
Niels Dossche a8c8fb2564 Fix incorrect check in cs_8559_5 in map_from_unicode()
The condition `code == 0x0450 || code == 0x045D` is always false because
of an incorrect range check on code.
According to the BMP coverage in the encoding spec for ISO-8859-5
(https://encoding.spec.whatwg.org/iso-8859-5-bmp.html) the range of
valid characters is 0x0401 - 0x045F (except for 0x040D, 0x0450, 0x045D).
The current check has an upper bound of 0x044F instead of 0x045F.
Fix this by changing the upper bound.

Closes GH-10399

Signed-off-by: George Peter Banyard <girgias@php.net>
2023-01-25 00:08:28 +00:00
..
2022-06-25 07:39:55 +01:00
2022-06-17 19:52:44 -04:00
2023-01-19 18:48:03 +00:00
2022-07-27 12:13:32 +02:00
2022-09-13 11:33:09 +01:00
2022-04-25 14:29:44 +02:00
2023-01-09 14:08:40 +01:00
2022-09-27 23:32:15 +02:00
2022-06-13 14:43:51 +02:00
2023-01-25 00:06:56 +00:00
2022-08-31 14:22:44 +02:00
2022-12-18 23:20:29 -07:00
2022-10-13 16:00:36 +02:00
2022-06-20 18:46:17 +02:00
2022-06-15 15:39:00 +02:00
2022-06-25 07:39:55 +01:00