GUAC-1389: Allocate sufficient memory for print job close message.
This commit is contained in:
parent
eadc3a91a9
commit
51aaa193f2
@ -282,9 +282,9 @@ void guac_rdpdr_process_print_job_close(guac_rdpdr_device* device,
|
|||||||
(guac_rdpdr_printer_data*) device->data;
|
(guac_rdpdr_printer_data*) device->data;
|
||||||
|
|
||||||
wStream* output_stream = guac_rdpdr_new_io_completion(device,
|
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 input and wait for output thread to finish */
|
||||||
close(printer_data->printer_input);
|
close(printer_data->printer_input);
|
||||||
|
Loading…
Reference in New Issue
Block a user