Noah Goldstein
706c8a7f06
x86: Fix wcsnlen-avx2 page cross length comparison [BZ #29591 ]
...
Previous implementation was adjusting length (rsi) to match
bytes (eax), but since there is no bound to length this can cause
overflow.
Fix is to just convert the byte-count (eax) to length by dividing by
sizeof (wchar_t) before the comparison.
Full check passes on x86-64 and build succeeds w/ and w/o multiarch.
(cherry picked from commit b0969fa53a28b4ab2159806bf6c99a98999502ee)
2022-11-24 17:16:23 -08:00
..
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2017-03-23 11:32:29 -03:00
2019-01-01 00:11:28 +00:00
2017-11-14 17:50:36 +00:00
2018-06-20 22:18:22 +00:00
2018-06-20 22:18:22 +00:00
2017-03-23 11:32:29 -03:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-07 14:59:07 +01:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-02-27 13:55:45 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-06-12 11:42:34 +01:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-06-12 11:38:52 +01:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-02-25 13:19:19 +00:00
2019-02-25 13:19:19 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-02-22 01:32:36 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-12-05 16:54:47 +01:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-06-12 11:38:52 +01:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2022-01-27 16:01:04 -08:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-02-22 01:32:36 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-06-19 12:32:04 +02:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-02-27 13:55:45 +00:00
2019-01-01 00:11:28 +00:00
2019-01-07 14:59:07 +01:00
2019-01-01 00:11:28 +00:00
2019-02-27 13:55:45 +00:00
2019-01-01 00:11:28 +00:00
2022-01-27 16:01:04 -08:00
2022-02-17 11:40:37 -08:00
2019-01-01 00:11:28 +00:00
2022-11-24 17:16:23 -08:00
2019-01-01 00:11:28 +00:00
2019-02-27 13:55:45 +00:00
2019-01-01 00:11:28 +00:00
2019-11-27 12:38:58 +01:00
2019-01-01 00:11:28 +00:00
2019-02-27 13:55:45 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2017-03-23 11:32:29 -03:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2017-03-23 11:32:29 -03:00
2017-03-23 11:32:29 -03:00
2019-01-01 00:11:28 +00:00
2017-03-23 11:32:29 -03:00
2017-03-23 11:32:29 -03:00
2017-03-23 11:32:29 -03:00
2017-03-23 11:32:29 -03:00
2017-03-23 11:32:29 -03:00
2009-04-07 06:51:59 +00:00
2009-04-07 06:51:59 +00:00
2019-01-01 00:11:28 +00:00
2016-12-16 16:21:54 -05:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00