Bug #26720 Infinite loop on unknown signal in logging function

- terminate printing
parent 6dd7294d
...@@ -96,6 +96,8 @@ printPACKED_SIGNAL(FILE * output, const Uint32 * theData, Uint32 len, Uint16 rec ...@@ -96,6 +96,8 @@ printPACKED_SIGNAL(FILE * output, const Uint32 * theData, Uint32 len, Uint16 rec
} }
default: default:
fprintf(output, "Unknown signal type\n"); fprintf(output, "Unknown signal type\n");
i = len; // terminate printing
break;
} }
}//for }//for
fprintf(output, "--------- End Packed Signals ----------\n"); fprintf(output, "--------- End Packed Signals ----------\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment