Re: [bug-libunistring] Unistring 0.9.10 and Undefined Behavior sanitizer findings

2019-03-08 Thread Bruno Haible
Hi, Jeffrey Walton wrote in : > I used CFLAGS="-DNDEBUG -g2 -O1 -fsanitize=undefined". I built the > library, then ran a 'make test V=1'. The output presented to the user > looks OK. However, it looks like UBsan found some

Re: [bug-libunistring] Unistring 0.9.10 and Undefined Behavior sanitizer findings

2019-03-08 Thread Jeffrey Walton
On Fri, Mar 8, 2019 at 6:36 PM Bruno Haible wrote: > ... > > I'm pushing the attached patches. Thanks Bruno, got them. 0.9.10 tested good with them. (I should be starting on -fsanitize=address this weekend. Address Sanitizer is a little trickier because I've seen findings that I could not expla

Re: [bug-libunistring] Unistring 0.9.10 and Undefined Behavior sanitizer findings

2019-03-09 Thread Jim Meyering
On Fri, Mar 8, 2019 at 5:30 PM Jeffrey Walton wrote: Thanks for the UBSAN testing and report, and to Bruno for all the fixes. > On Fri, Mar 8, 2019 at 6:36 PM Bruno Haible wrote: > > ... > > I'm pushing the attached patches. > > Thanks Bruno, got them. 0.9.10 tested good with them. > > (I shou