diff options
author | Jim Wilson <jim.wilson@linaro.org> | 2015-10-27 09:33:08 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2015-10-27 09:33:08 +0000 |
commit | ef8e6722f2eaae6d65b360459451f57f1350d2af (patch) | |
tree | 7d4454525af9cd6183dc9969bc8dfe5bc7406d30 /bfd/libbfd-in.h | |
parent | 469bdc72e7b00509d6578f5caca01a45f5db5027 (diff) | |
download | fsf-binutils-gdb-ef8e6722f2eaae6d65b360459451f57f1350d2af.zip fsf-binutils-gdb-ef8e6722f2eaae6d65b360459451f57f1350d2af.tar.gz fsf-binutils-gdb-ef8e6722f2eaae6d65b360459451f57f1350d2af.tar.bz2 |
Prevent overflowing the selected_cpu_name buffer in the ARM assembler.
* config/tc-arm.c (selected_cpu_name): Increase length of array to
accomodate "Samsung Exynos M1".
(arm_parse_cpu): Add assertion and length check to prevent
overfilling selected_cpu_name.
Diffstat (limited to 'bfd/libbfd-in.h')
0 files changed, 0 insertions, 0 deletions