GUACAMOLE-482: Ignore invalid instructions within guacenc. Log failure at debug level.

This commit is contained in:
Michael Jumper 2018-04-12 15:07:45 -07:00
parent 70b2b8a1bf
commit 8d43c4344d

View File

@ -65,8 +65,8 @@ static int guacenc_read_instructions(guacenc_display* display,
while (!guac_parser_read(parser, socket, -1)) {
if (guacenc_handle_instruction(display, parser->opcode,
parser->argc, parser->argv)) {
guac_parser_free(parser);
return 1;
guacenc_log(GUAC_LOG_DEBUG, "Handling of \"%s\" instruction "
"failed.", parser->opcode);
}
}