mips & xcore: some safety guards to make sure printOperand() do not overflow Operands[] for some unknown reasons
diff --git a/arch/XCore/XCoreInstPrinter.c b/arch/XCore/XCoreInstPrinter.c
index 2c93abf..259ca3d 100644
--- a/arch/XCore/XCoreInstPrinter.c
+++ b/arch/XCore/XCoreInstPrinter.c
@@ -237,6 +237,9 @@
 
 static void printOperand(MCInst *MI, int OpNum, SStream *O)
 {
+	if (OpNum >= MI->size)
+		return;
+
 	_printOperand(MI, MCInst_getOperand(MI, OpNum), O);
 }