https://bugs.kde.org/show_bug.cgi?id=475652
--- Comment #7 from Arsen Arsenović <ar...@aarsen.me> --- LGTM ~/.../_build/_pfx/bin$ gcc -O3 ~/test.c && valgrind ./a.out ==3321707== Memcheck, a memory error detector ==3321707== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al. ==3321707== Using Valgrind-3.21.0 and LibVEX; rerun with -h for copyright info ==3321707== Command: ./a.out ==3321707== ==3321707== Invalid read of size 32 ==3321707== at 0x49ECE2D: __wcsncpy_avx2 (strncpy-avx2.S:337) ==3321707== by 0x1090B3: main (in /home/arsen/valgrind/_build/_pfx/bin/a.out) ==3321707== Address 0x4a72240 is 16 bytes after a block of size 496 in arena "client" ==3321707== ==3321707== Conditional jump or move depends on uninitialised value(s) ==3321707== at 0x49ECE51: __wcsncpy_avx2 (strncpy-avx2.S:348) ==3321707== by 0x1090B3: main (in /home/arsen/valgrind/_build/_pfx/bin/a.out) ==3321707== ==3321707== ==3321707== HEAP SUMMARY: ==3321707== in use at exit: 1,508 bytes in 2 blocks ==3321707== total heap usage: 2 allocs, 0 frees, 1,508 bytes allocated ==3321707== ==3321707== LEAK SUMMARY: ==3321707== definitely lost: 1,508 bytes in 2 blocks ==3321707== indirectly lost: 0 bytes in 0 blocks ==3321707== possibly lost: 0 bytes in 0 blocks ==3321707== still reachable: 0 bytes in 0 blocks ==3321707== suppressed: 0 bytes in 0 blocks ==3321707== Rerun with --leak-check=full to see details of leaked memory ==3321707== ==3321707== Use --track-origins=yes to see where uninitialised values come from ==3321707== For lists of detected and suppressed errors, rerun with: -s ==3321707== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) ~/.../_build/_pfx/bin$ gcc -O3 ~/test.c && ./valgrind ./a.out ==3321824== Memcheck, a memory error detector ==3321824== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al. ==3321824== Using Valgrind-3.22.0.GIT and LibVEX; rerun with -h for copyright info ==3321824== Command: ./a.out ==3321824== ==3321824== ==3321824== HEAP SUMMARY: ==3321824== in use at exit: 1,508 bytes in 2 blocks ==3321824== total heap usage: 2 allocs, 0 frees, 1,508 bytes allocated ==3321824== ==3321824== LEAK SUMMARY: ==3321824== definitely lost: 1,508 bytes in 2 blocks ==3321824== indirectly lost: 0 bytes in 0 blocks ==3321824== possibly lost: 0 bytes in 0 blocks ==3321824== still reachable: 0 bytes in 0 blocks ==3321824== suppressed: 0 bytes in 0 blocks ==3321824== Rerun with --leak-check=full to see details of leaked memory ==3321824== ==3321824== For lists of detected and suppressed errors, rerun with: -s ==3321824== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ~/.../_build/_pfx/bin$ -- You are receiving this mail because: You are watching all bug changes.