mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-30 10:38:55 +00:00
a2bdcc68c2
Some application code is dereferencing the pointer returned by 'packet_content' at packet streams without checking that it is valid. Throw an exception rather than return a null pointer, except for zero-length packets, which have somewhat implicit invalid content and that we believe to be properly handled in all current cases. The client-side of a packet stream cannot take corrective action if the server-side is sending packets with invalid content, but the servers that provide packet streams should catch this exception to detect misbehaving clients. Ref #3059 |
||
---|---|---|
.. | ||
component.h | ||
driver.h |