Stefan Liebler
a70c55a91b
s390x: Fix segfault in wcsncmp [BZ #31934 ]
...
The z13/vector-optimized wcsncmp implementation segfaults if n=1
and there is only one character (equal on both strings) before
the page end. Then it loads and compares one character and misses
to check n again. The following load fails.
This patch removes the extra load and compare of the first character
and just start with the loop which uses vector-load-to-block-boundary.
This code-path also checks n.
With this patch both tests are passing:
- the simplified one mentioned in the bugzilla 31934
- the full one in Florian Weimer's patch:
"manual: Document a GNU extension for strncmp/wcsncmp"
(https://patchwork.sourceware.org/project/glibc/patch/874j9eml6y.fsf@oldenburg.str.redhat.com/ ):
On s390x-linux-gnu (z16), the new wcsncmp test fails due to bug 31934.
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
(cherry picked from commit 9b7651410375ec8848a1944992d663d514db4ba7)
2024-07-16 10:30:45 +02:00
..
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-06-10 17:13:29 +01:00
2022-01-01 11:40:24 -08:00
2022-05-30 16:33:25 -03:00
2022-07-27 08:58:27 -03:00
2015-11-20 08:56:40 +01:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-04-26 09:26:22 -07:00
2022-04-26 09:26:22 -07:00
2022-01-01 11:40:24 -08:00
2022-04-14 10:37:45 +02:00
2022-04-14 10:37:45 +02:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-02-23 14:18:18 -03:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2016-07-06 15:22:35 +02:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-02-23 14:18:18 -03:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-02-23 14:18:18 -03:00
2022-01-01 11:40:24 -08:00
2014-06-25 17:52:56 +00:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2014-07-31 20:04:54 +02:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2024-07-16 10:30:45 +02:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00
2022-01-01 11:40:24 -08:00