bug-gnulib
[Top][All Lists]
Advanced

[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. 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]