Skip to content

Commit

Permalink
MCInst: fix uninitialized value in operand value (#1685)
Browse files Browse the repository at this point in the history
  • Loading branch information
StalkR committed Sep 16, 2020
1 parent ceb308c commit c66bb33
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions MCInst.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ void MCInst_Init(MCInst *inst)

for (i = 0; i < 48; i++) {
inst->Operands[i].Kind = kInvalid;
inst->Operands[i].ImmVal = 0;
}

inst->Opcode = 0;
Expand Down

0 comments on commit c66bb33

Please sign in to comment.