diff options
author | Alan Hayward <alan.hayward@arm.com> | 2018-10-19 13:51:00 +0100 |
---|---|---|
committer | Alan Hayward <alan.hayward@arm.com> | 2018-10-19 13:51:00 +0100 |
commit | 74b3c713184abb8e07f92c4e069ebafde78c0a0e (patch) | |
tree | 421499216298a4c72fdf351fc71fb07d1ff4a7a4 /gdb/stack.c | |
parent | 0667c506823489f2fab1938d3fc8ee27f8a7c651 (diff) | |
download | gdb-74b3c713184abb8e07f92c4e069ebafde78c0a0e.zip gdb-74b3c713184abb8e07f92c4e069ebafde78c0a0e.tar.gz gdb-74b3c713184abb8e07f92c4e069ebafde78c0a0e.tar.bz2 |
Aarch64: Better termination checks for sigcontext reading
When reading the reserved section in the sigcontext ensure the
address is updated on an unknown section. Also add additional
checks to prevent reading past the end of the array.
Fixes gdb.base/savedregs.exp
* aarch64-linux-tdep.c (AARCH64_SIGCONTEXT_RESERVED_SIZE): New
define.
(aarch64_linux_sigframe_init): Extra boundary checks.
Diffstat (limited to 'gdb/stack.c')
0 files changed, 0 insertions, 0 deletions