From ee20114c67c0d6f59020d80c1165a634a3570e20 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Tue, 12 Nov 2013 12:06:23 -0800 Subject: [PATCH] Ignore acks for non-download streams. --- src/protocols/rdp/guac_handlers.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/protocols/rdp/guac_handlers.c b/src/protocols/rdp/guac_handlers.c index 57f2ad55..230b5fbe 100644 --- a/src/protocols/rdp/guac_handlers.c +++ b/src/protocols/rdp/guac_handlers.c @@ -646,6 +646,10 @@ int rdp_guac_client_ack_handler(guac_client* client, guac_stream* stream, guac_rdp_download_status* download = (guac_rdp_download_status*) stream->data; + /* Ignore acks for non-download stream data */ + if (download == NULL) + return 0; + /* Get filesystem, return error if no filesystem */ guac_rdp_fs* fs = ((rdp_guac_client_data*) client->data)->filesystem; if (fs == NULL) {