https://sourceware.org/bugzilla/show_bug.cgi?id=18708

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |amodra at gmail dot com

--- Comment #1 from Alan Modra <amodra at gmail dot com> ---
I believe the first two readelf ubsan errors have been fixed both in master
binutils and on the 2.25 branch.

The third readelf ubsan error is on this line
              section.sh_size = ftell (file) - section.sh_offset;
ftell returns a signed type, and section.sh_offset is also a signed type, thus
the ubsan error about signed integer overflow.  I don't consider this sort of
"error" worth fixing by adding casts or changing the type of sh_offset, since
it was induced by a fuzzed binary.

The i386-dis.c ubsan errors are technically correct, but in reality just so
much useless noise.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to