Skip to content

Commit

Permalink
Fix invalid free in RAnal.avr
Browse files Browse the repository at this point in the history
  • Loading branch information
radare committed Apr 18, 2018
1 parent b35530f commit 25a3703
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libr/anal/p/anal_avr.c
Expand Up @@ -1287,7 +1287,7 @@ INST_HANDLER (sbrx) { // SBRC Rr, b
// SBRS Rr, b
int b = buf[0] & 0x7;
int r = ((buf[0] >> 4) & 0xf) | ((buf[1] & 0x01) << 4);
RAnalOp next_op;
RAnalOp next_op = {0};

// calculate next instruction size (call recursively avr_op_analyze)
// and free next_op's esil string (we dont need it now)
Expand Down

0 comments on commit 25a3703

Please sign in to comment.