aboutsummaryrefslogtreecommitdiff
path: root/gdb/f-lang.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2022-08-06 19:54:46 +0930
committerAlan Modra <amodra@gmail.com>2022-08-06 19:59:02 +0930
commit45c8663b92cc29eb330dbcc6c500fa798f05ae37 (patch)
tree877469fc158cb740d356c70dc536d29e19f43997 /gdb/f-lang.c
parent431d48ef288983b62df2afb435dc8c6101a34cf8 (diff)
downloadgdb-45c8663b92cc29eb330dbcc6c500fa798f05ae37.zip
gdb-45c8663b92cc29eb330dbcc6c500fa798f05ae37.tar.gz
gdb-45c8663b92cc29eb330dbcc6c500fa798f05ae37.tar.bz2
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.
Diffstat (limited to 'gdb/f-lang.c')
0 files changed, 0 insertions, 0 deletions