ubsan: shift exponent 70 is too large
authorAlan Modra <amodra@gmail.com>
Sun, 15 Mar 2020 22:24:16 +0000 (08:54 +1030)
committerAlan Modra <amodra@gmail.com>
Mon, 16 Mar 2020 02:34:49 +0000 (13:04 +1030)
commit60e63c3e9750b036d50e58bc173591fa450601b6
tree165272afbf8a2d53cffc45816cbf0644595b18d8
parent7bac4137d757be98de8f6f8d8a649f04cacfdd2f
ubsan: shift exponent 70 is too large

* unwind-ia64.c (unw_decode_uleb128): Prevent overlarge shifts.
Detect shift overflows and check that terminating byte is found.
Print an error on a bad uleb128.
binutils/ChangeLog
binutils/unwind-ia64.c