[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: valgrind Complaint for test/mhshow/test-charset.
From: |
Ralph Corderoy |
Subject: |
Re: valgrind Complaint for test/mhshow/test-charset. |
Date: |
Fri, 30 Dec 2022 15:23:33 +0000 |
Hi David,
> I don't get that complaint here, Fedora 37 with glibc 2.36.
Good to know. The problem appears on a friend's Manjaro system, an Arch
Linux spin-off, also with glibc 2.36.
> > ==19813551992192== Invalid read of size 8
> > ==19813551992192== at 0x4024AC0: strncmp (strcmp-sse2.S:160)
> > ==19813551992192== by 0x4004EBF: is_dst (dl-load.c:216)
> > ...
> > ==19813551992192== by 0x4923707: iconv_open (iconv_open.c:39)
>
> I would think that would be suppressed by this in test/valgrind.supp:
>
> {
> iconv_open on Fedora 33
> Memcheck:Addr16
> fun:strncmp
> ...
> fun:iconv_open
> }
That's for an invalid address when reading sixteen bytes whereas it says
‘size 8’ above. I'll add something similar for Addr8.
> And it's clean for me on a non-debug build with all of the compiler
> checks that build_nmh enables.
I've got a few warnings that I've been committing fixes for.
--
Cheers, Ralph.