aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2013-12-20 23:57:52 +1030
committerAlan Modra <amodra@gmail.com>2013-12-21 00:08:34 +1030
commit99d190fac4d2aab238cfc798dc5c28ab41456882 (patch)
treee05cdd046418c9f609282c8997528d923d7caa10 /gas/config
parent21986715b1e238269e919f7d7c85b134a9e18b17 (diff)
downloadgdb-99d190fac4d2aab238cfc798dc5c28ab41456882.zip
gdb-99d190fac4d2aab238cfc798dc5c28ab41456882.tar.gz
gdb-99d190fac4d2aab238cfc798dc5c28ab41456882.tar.bz2
Don't segv on cie.initial_instructions[] overflow.
Don't attempt to merge CIEs with a larger number of insns than will fit in the buffer. * elf-eh-frame.c (cie_eq): Return false when initial_insn_length is too large. (cie_compute_hash): Don't exceed bounds of initial_instructions. (_bfd_elf_parse_eh_frame): Always set initial_insn_length, and save as much of insns to initial_instructions[] as will fit.
Diffstat (limited to 'gas/config')
0 files changed, 0 insertions, 0 deletions