[binutils-gdb] Fix unintialized memory in aarch64 opcodes.

sergiodj+buildbot@sergiodj.net sergiodj+buildbot@sergiodj.net
Tue May 1 16:57:00 GMT 2018


*** TEST RESULTS FOR COMMIT b3ac5c6c286c5b5c1909628e85754edfb403cf1a ***

Author: Tamar Christina <tamar.christina@arm.com>
Branch: master
Commit: b3ac5c6c286c5b5c1909628e85754edfb403cf1a

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.



More information about the Gdb-testers mailing list