Skip to content

Commit 8b65677

Browse files
committed
Fixed uninitialized data.
1 parent d93bc9e commit 8b65677

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

NativeCore/Shared/DistormHelper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ bool DisassembleInstructionsImpl(const RC_Pointer address, const RC_Size length,
172172
_DecodedInst instructionInfo = {};
173173
distorm_format(&info, &decodedInstructions[i], &instructionInfo);
174174

175-
InstructionData data;
175+
InstructionData data = {};
176176
FillInstructionData(instructionAddress, decodedInstructions[i], instructionInfo, determineStaticInstructionBytes, &data);
177177

178178
if (callback(&data) == false)

0 commit comments

Comments
 (0)