From 4457d451aad63ed7ac4ef259200d165d157f1554 Mon Sep 17 00:00:00 2001 From: StalkR Date: Wed, 16 Sep 2020 09:05:55 +0000 Subject: [PATCH] MCInst: fix uninitialized value in operand value (#1684) https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=14912 --- MCInst.c | 1 + 1 file changed, 1 insertion(+) diff --git a/MCInst.c b/MCInst.c index a87c30d2..a9ac3b0d 100644 --- a/MCInst.c +++ b/MCInst.c @@ -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;