diff options
author | Alan Modra <amodra@gmail.com> | 2013-12-20 23:57:52 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2013-12-21 00:08:34 +1030 |
commit | 99d190fac4d2aab238cfc798dc5c28ab41456882 (patch) | |
tree | e05cdd046418c9f609282c8997528d923d7caa10 /gas/config | |
parent | 21986715b1e238269e919f7d7c85b134a9e18b17 (diff) | |
download | gdb-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