diff options
author | Tamar Christina <tamar.christina@arm.com> | 2018-05-01 17:11:11 +0100 |
---|---|---|
committer | Tamar Christina <tamar.christina@arm.com> | 2018-05-01 17:12:58 +0100 |
commit | b3ac5c6c286c5b5c1909628e85754edfb403cf1a (patch) | |
tree | 213f9a7268462fb49e4ecc9fae20bdd2aa62a3c6 /gdb/python/py-param.c | |
parent | 8e4bd9922ae37809021ca660782295fc2de3ee73 (diff) | |
download | binutils-b3ac5c6c286c5b5c1909628e85754edfb403cf1a.zip binutils-b3ac5c6c286c5b5c1909628e85754edfb403cf1a.tar.gz binutils-b3ac5c6c286c5b5c1909628e85754edfb403cf1a.tar.bz2 |
Fix unintialized memory in aarch64 opcodes.
This patch fixes an issue where the memory for the opcode structure is not zero'd before
the first exit branch. So there is one failure mode for which uninitialized memory
is returned.
This causes weird failures when the return code is not checked before inst is used.
opcodes/
* aarch64-dis.c (aarch64_opcode_decode): Moved memory clear code.
Diffstat (limited to 'gdb/python/py-param.c')
0 files changed, 0 insertions, 0 deletions