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 /gas/config/tc-rx.c | |
parent | 469bdc72e7b00509d6578f5caca01a45f5db5027 (diff) | |
download | gdb-ef8e6722f2eaae6d65b360459451f57f1350d2af.zip gdb-ef8e6722f2eaae6d65b360459451f57f1350d2af.tar.gz 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 'gas/config/tc-rx.c')
0 files changed, 0 insertions, 0 deletions