GUAC-1389: Allocate sufficient memory for print job close message.

This commit is contained in:
Michael Jumper 2016-03-04 15:56:30 -08:00
parent eadc3a91a9
commit 51aaa193f2

View File

@ -282,9 +282,9 @@ void guac_rdpdr_process_print_job_close(guac_rdpdr_device* device,
(guac_rdpdr_printer_data*) device->data;
wStream* output_stream = guac_rdpdr_new_io_completion(device,
completion_id, STATUS_SUCCESS, 1);
completion_id, STATUS_SUCCESS, 4);
Stream_Write_UINT32(output_stream, 0); /* padding*/
Stream_Write_UINT32(output_stream, 0); /* Padding */
/* Close input and wait for output thread to finish */
close(printer_data->printer_input);