mirror of https://github.com/FreeRDP/FreeRDP
Fixed copyright headers and stream length
This commit is contained in:
parent
2755f915fa
commit
ab159cc236
|
@ -298,10 +298,10 @@ static UINT enumerator_process_message(enumerator_server* enumerator)
|
|||
goto out;
|
||||
}
|
||||
|
||||
Stream_SetLength(s, BytesReturned);
|
||||
if (!Stream_CheckAndLogRequiredLength(TAG, s, CAM_HEADER_SIZE))
|
||||
return ERROR_NO_DATA;
|
||||
|
||||
Stream_SetLength(s, BytesReturned);
|
||||
Stream_Read_UINT8(s, header.Version);
|
||||
Stream_Read_UINT8(s, header.MessageId);
|
||||
|
||||
|
|
|
@ -438,7 +438,7 @@ static UINT device_process_message(device_server* device)
|
|||
goto out;
|
||||
}
|
||||
|
||||
Stream_Seek(s, BytesReturned);
|
||||
Stream_SetLength(s, BytesReturned);
|
||||
if (!Stream_CheckAndLogRequiredLength(TAG, s, CAM_HEADER_SIZE))
|
||||
return ERROR_NO_DATA;
|
||||
|
||||
|
|
|
@ -185,7 +185,7 @@ static UINT telemetry_process_message(telemetry_server* telemetry)
|
|||
goto out;
|
||||
}
|
||||
|
||||
Stream_Seek(s, BytesReturned);
|
||||
Stream_SetLength(s, BytesReturned);
|
||||
if (!Stream_CheckAndLogRequiredLength(TAG, s, 2))
|
||||
return ERROR_NO_DATA;
|
||||
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
/**
|
||||
* FreeRDP: A Remote Desktop Protocol Implementation
|
||||
* Video Optimized Remoting Virtual Channel Extension
|
||||
* Video Capture Virtual Channel Extension
|
||||
*
|
||||
* Copyright 2021 Armin Novak <armin.novak@thincast.com>
|
||||
* Copyright 2021 Thincast Technologies GmbH
|
||||
* Copyright 2022 Pascal Nowack <Pascal.Nowack@gmx.de>
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
|
Loading…
Reference in New Issue