FreeRDP/channels/rdpecam
Pascal Nowack 4be3950fd8 rdpecam/server: Remove wrong assertion
Some PDUs, like the Activate Device Request only contain the header.
As a result, the size of the rest of the PDU is 0.
The assertion for the PDU size in device_server_packet_new only
considers the size of the body of the PDU.
When that value is 0, the assertion is hit and the server implementation
crashes.

To fix this issue, simply remove this assertion. Since the allocation
size is always at least the header size, there won't ever be an attempt
to create a stream with a size of 0.
2023-04-19 22:20:04 +02:00
..
server rdpecam/server: Remove wrong assertion 2023-04-19 22:20:04 +02:00
ChannelOptions.cmake Fix rdpecam server channel naming 2022-06-30 12:28:22 +02:00
CMakeLists.txt Fix rdpecam server channel naming 2022-06-30 12:28:22 +02:00