Fix an illegal memory access when parsing a corrupt assembler file.
authorNick Clifton <nickc@redhat.com>
Mon, 8 Feb 2021 18:31:21 +0000 (18:31 +0000)
committerNick Clifton <nickc@redhat.com>
Mon, 8 Feb 2021 18:31:21 +0000 (18:31 +0000)
commit80b652efa2e969d865d06e1a4aec16b4dcd9f435
tree45cd6d47cba989f88c71a84219ae0c9ea607cb21
parent4001d90ddecdfc0e89daa4eca17006e20ad626c0
Fix an illegal memory access when parsing a corrupt assembler file.

PR 27355
* dwarf2dbg.c (allocate_filename_to_slot): Allocate the dirs array
if it has not already been created.
gas/ChangeLog
gas/dwarf2dbg.c