[0/3] Fix some sanitizer errors

Message ID 20210503193206.4008066-1-tromey@adacore.com
Headers show
Series
  • Fix some sanitizer errors
Related show

Message

Tom Tromey May 3, 2021, 7:32 p.m.
I tried a build with the address sanitizer, and another with the
undefined behavior sanitizer.

This series fixes the simplest bugs I found.

There is still one remaining address sanitizer report that I didn't
investigate, coming from gdb.dwarf2/dw2-icc-opaque.exp.  There's also
one remaining undefined behavior report, triggered by
gdb.ada/access_to_packed_array.exp.

Tested on x86-64 Fedora 32.

Tom

Comments

Tom Tromey May 17, 2021, 6:53 p.m. | #1
>>>>> "Tom" == Tom Tromey <tromey@adacore.com> writes:


Tom> I tried a build with the address sanitizer, and another with the
Tom> undefined behavior sanitizer.

Tom> This series fixes the simplest bugs I found.

I'm checking these in now.

Tom