GUACAMOLE-482: Ignore invalid instructions within guacenc. Log failure at debug level.
This commit is contained in:
parent
70b2b8a1bf
commit
8d43c4344d
@ -65,8 +65,8 @@ static int guacenc_read_instructions(guacenc_display* display,
|
|||||||
while (!guac_parser_read(parser, socket, -1)) {
|
while (!guac_parser_read(parser, socket, -1)) {
|
||||||
if (guacenc_handle_instruction(display, parser->opcode,
|
if (guacenc_handle_instruction(display, parser->opcode,
|
||||||
parser->argc, parser->argv)) {
|
parser->argc, parser->argv)) {
|
||||||
guac_parser_free(parser);
|
guacenc_log(GUAC_LOG_DEBUG, "Handling of \"%s\" instruction "
|
||||||
return 1;
|
"failed.", parser->opcode);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user