Browse Source
Currently, the get_disassembler() implementations for riscv, csky, and rl78--and mep_print_insn() for mep--access ELF variants of union fields without first checking that the bfd actually represents an ELF. This causes undefined behavior and crashes when disassembling non-ELF files (the "binary" BFD, for example). Fix that.binutils-2_39-branch
committed by
Alan Modra
5 changed files with 30 additions and 28 deletions
Loading…
Reference in new issue