commit | 2c1c1b1af421f4ddd53eb902301f59c2cba5f288 | [log] [tgz] |
---|---|---|
author | radare <pancake@nopcode.org> | Tue Apr 18 00:45:03 2017 +0200 |
committer | Nguyen Anh Quynh <aquynh@gmail.com> | Tue Apr 18 06:45:03 2017 +0800 |
tree | 50dbd45170a306c0948c19ae1ad490bb1d0e31ac | |
parent | aaebd0b5e573599e568681eaa8dd7b9f2e0a91e9 [diff] |
Fix assigned value with undefined (#893)
diff --git a/arch/X86/X86IntelInstPrinter.c b/arch/X86/X86IntelInstPrinter.c index d7c6d29..0eed4dd 100644 --- a/arch/X86/X86IntelInstPrinter.c +++ b/arch/X86/X86IntelInstPrinter.c
@@ -733,7 +733,7 @@ reg = X86_insn_reg_intel(MCInst_getOpcode(MI), &access1); if (MI->csh->detail) { #ifndef CAPSTONE_DIET - uint8_t access[6]; + uint8_t access[6] = {0}; #endif // first op can be embedded in the asm by llvm.