Fix unintialized memory in aarch64 opcodes.
authorTamar Christina <tamar.christina@arm.com>
Tue, 1 May 2018 16:11:11 +0000 (17:11 +0100)
committerTamar Christina <tamar.christina@arm.com>
Tue, 1 May 2018 16:12:58 +0000 (17:12 +0100)
commitb3ac5c6c286c5b5c1909628e85754edfb403cf1a
tree213f9a7268462fb49e4ecc9fae20bdd2aa62a3c6
parent8e4bd9922ae37809021ca660782295fc2de3ee73
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.
opcodes/ChangeLog
opcodes/aarch64-dis.c
This page took 0.025763 seconds and 4 git commands to generate.