GUACAMOLE-1059: Remove bad check of audio stream against body_size.
This commit is contained in:
parent
98f0c271fb
commit
ac9e5e91f6
@ -57,14 +57,6 @@ void guac_rdpsnd_process_receive(guac_rdp_common_svc* svc,
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Check Stream size against body size */
|
|
||||||
if (Stream_GetRemainingLength(input_stream) < header.body_size) {
|
|
||||||
guac_client_log(svc->client, GUAC_LOG_WARNING, "Audio Stream does not "
|
|
||||||
"contain the expected number of bytes. Sound may not work as "
|
|
||||||
"expected.");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Dispatch message to standard handlers */
|
/* Dispatch message to standard handlers */
|
||||||
switch (header.message_type) {
|
switch (header.message_type) {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user