ppc: make sure alias mnememonic is not empty in PPC_printInst()
diff --git a/arch/PowerPC/PPCInstPrinter.c b/arch/PowerPC/PPCInstPrinter.c
index 59d0f52..92b4b75 100644
--- a/arch/PowerPC/PPCInstPrinter.c
+++ b/arch/PowerPC/PPCInstPrinter.c
@@ -181,7 +181,7 @@
if (!mnem)
mnem = printAliasInstr(MI, O, Info);
- if (mnem) {
+ if ((mnem != NULL) && (strlen(mnem) > 0)) {
struct ppc_alias alias;
// check to remove the last letter of ('.', '-', '+')
if (mnem[strlen(mnem) - 1] == '-' || mnem[strlen(mnem) - 1] == '+' || mnem[strlen(mnem) - 1] == '.')