This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH 2/4] gas/arc: Fix array overrun when checking opcode array
- From: Nick Clifton <nickc at redhat dot com>
- To: Andrew Burgess <andrew dot burgess at embecosm dot com>, binutils at sourceware dot org
- Cc: Claudiu dot Zissulescu at synopsys dot com, Cupertino dot Miranda at synopsys dot com
- Date: Wed, 18 May 2016 12:30:52 +0100
- Subject: Re: [PATCH 2/4] gas/arc: Fix array overrun when checking opcode array
- Authentication-results: sourceware.org; auth=none
- References: <1462994486-12419-1-git-send-email-andrew dot burgess at embecosm dot com> <1462994486-12419-3-git-send-email-andrew dot burgess at embecosm dot com>
Hi Andrew,
> gas/ChangeLog:
>
> * config/tc-arc.c (arc_opcode_hash_entry_iterator_next): Set
> cached opcode to NULL when we reach a non-matching opcode.
> * gas/testsuite/gas/arc/asm-errors-2.d: New file.
> * gas/testsuite/gas/arc/asm-errors-2.err: New file.
> * gas/testsuite/gas/arc/asm-errors-2.s: New file.
Approved - please apply.
Cheers
Nick