[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: clang's Undefined Sanitizer
From: |
Adhemerval Zanella |
Subject: |
Re: clang's Undefined Sanitizer |
Date: |
Tue, 22 Aug 2017 14:39:02 -0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 |
On 22/08/2017 14:29, Paul Eggert wrote:
> On 08/22/2017 09:49 AM, Bruno Haible wrote:
>> It obviously does not handle the 'struct globnames' allocated with
>> the FLEXSIZEOF macro (lines 1719..1732).
>
> Yes, and I installed the attached patch into Gnulib to try to fix this. I
> hope it is enough to pacify clang's Undefined Sanitizer. If not, Tim, please
> let us know, and thanks for reporting the problem.
>
> I'll CC: this to Adhemerval Zanella, who's working on porting Gnulib glob.c
> back to glibc, as I worry that this patch (or something like it) should also
> be ported back.
>
Thanks for heads up Paul, I intend to send the sync patch for gnulib
glob today. In fact I decided to *not* sync flexmember because with
following patch I intend to send (which are in the original thread)
make flexmember unnecessary.
- Valgrind is complaining unitialized values in freea (malloca.c:135), Marc Nieper-Wißkirchen, 2017/08/22
- Re: Valgrind is complaining unitialized values in freea (malloca.c:135), Tim Rühsen, 2017/08/22
- Re: Valgrind is complaining unitialized values in freea (malloca.c:135), Marc Nieper-Wißkirchen, 2017/08/22
- Re: clang's Undefined Sanitizer, Bruno Haible, 2017/08/22
- Re: clang's Undefined Sanitizer, Paul Eggert, 2017/08/22
- Re: clang's Undefined Sanitizer,
Adhemerval Zanella <=
- Re: clang's Undefined Sanitizer, Paul Eggert, 2017/08/22
- Re: clang's Undefined Sanitizer, Adhemerval Zanella, 2017/08/22
- Re: clang's Undefined Sanitizer, Paul Eggert, 2017/08/23
- Re: clang's Undefined Sanitizer, Bruno Haible, 2017/08/24
- Re: clang's Undefined Sanitizer, Benno Schulenberg, 2017/08/24
- Re: clang's Undefined Sanitizer, Benno Schulenberg, 2017/08/27
- Re: clang's Undefined Sanitizer, Bruno Haible, 2017/08/27
- Re: clang's Undefined Sanitizer, Bruno Haible, 2017/08/24
- Re: c99 and IRIX, Bruno Haible, 2017/08/24
- Re: c99 and IRIX, Paul Eggert, 2017/08/24