https://bugs.kde.org/show_bug.cgi?id=397083

--- Comment #6 from Paul Floyd <pjfl...@wanadoo.fr> ---
On gcc14 (Debian bookworm) doesn't generate errors with the testw example

The C example calling wmemcmp directly produces this

==660430== Invalid read of size 32
==660430==    at 0x49BD53D: __wmemcmp_avx2_movbe (memcmp-avx2-movbe.S:415)
==660430==    by 0x1091E9: main (wmemcmp.c:15)
==660430==  Address 0x4a47044 is 4 bytes inside a block of size 32 alloc'd
==660430==    at 0x48407B4: malloc (vg_replace_malloc.c:381)
==660430==    by 0x10915A: main (wmemcmp.c:6)

No error with the patch

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to