|
From: | Paul Eggert |
Subject: | Re: clang's Undefined Sanitizer |
Date: | Tue, 22 Aug 2017 10:29:47 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 |
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.
0001-glob-port-to-clang-s-Undefined-Sanitizer.patch
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |