commit | 45c8663b92cc29eb330dbcc6c500fa798f05ae37 | [log] [tgz] |
---|---|---|
author | Alan Modra <amodra@gmail.com> | Sat Aug 06 19:54:46 2022 +0930 |
committer | Alan Modra <amodra@gmail.com> | Sat Aug 06 19:59:02 2022 +0930 |
tree | 877469fc158cb740d356c70dc536d29e19f43997 | |
parent | 431d48ef288983b62df2afb435dc8c6101a34cf8 [diff] |
asan: heap buffer overflow in _bfd_error_handler On coff_slurp_symbol_table printing "unrecognized storage class" for a symbol error. If the symbol name is the last string in its section and not terminated, we run off the end of the buffer. * coffgen.c (build_debug_section): Terminate the section with an extra 0.