4be3950fd8
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. |
||
---|---|---|
.. | ||
camera_device_enumerator_main.c | ||
camera_device_main.c | ||
CMakeLists.txt |