Skip to content
Permalink
Browse files

Fix oobread in avr

  • Loading branch information...
radare committed Apr 18, 2018
1 parent cdb2780 commit b35530fa0681b27eba084de5527037ebfb397422
Showing with 3 additions and 0 deletions.
  1. +3 −0 libr/anal/p/anal_avr.c
@@ -1526,6 +1526,9 @@ OPCODE_DESC opcodes[] = {

static OPCODE_DESC* avr_op_analyze(RAnal *anal, RAnalOp *op, ut64 addr, const ut8 *buf, int len, CPU_MODEL *cpu) {
OPCODE_DESC *opcode_desc;
if (len < 2) {
return NULL;
}
ut16 ins = (buf[1] << 8) | buf[0];
int fail;
char *t;

0 comments on commit b35530f

Please sign in to comment.
You can’t perform that action at this time.