This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: [PATCH][Binutils][AArch64] fix unintialized memory


Ping

> -----Original Message-----
> From: binutils-owner@sourceware.org <binutils-owner@sourceware.org>
> On Behalf Of Tamar Christina
> Sent: Wednesday, April 25, 2018 11:03
> To: binutils@sourceware.org
> Cc: nd <nd@arm.com>; Richard Earnshaw <Richard.Earnshaw@arm.com>;
> Marcus Shawcroft <Marcus.Shawcroft@arm.com>
> Subject: [PATCH][Binutils][AArch64] fix unintialized memory
> 
> Hi All,
> 
> 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.
> 
> Regtested with check on aarch64-none-elf and no issues.
> 
> Ok for master?
> 
> Thanks,
> Tamar.
> 
> opcodes/
> 2018-04-25  Tamar Christina  <tamar.christina@arm.com>
> 
> 	* aarch64-dis.c (aarch64_opcode_decode): Moved memory clear
> code.
> 
> --

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]