FreeRDP/channels/rdpecam/server
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
..
camera_device_enumerator_main.c [includes] untangled circular includes 2023-03-15 08:22:23 +01:00
camera_device_main.c rdpecam/server: Remove wrong assertion 2023-04-19 22:20:04 +02:00
CMakeLists.txt [channels] simplified server linking 2023-03-01 08:18:34 +01:00