genode/repos/dde_linux/src/lib/usb/include
Emery Hemingway a2bdcc68c2 Throw exception for invalid packets at packet streams
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
2018-11-29 11:54:29 +01:00
..
spec usb/rpi: fix inconsistency between C and C++ 2017-02-28 13:00:44 +01:00
storage Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
lx_emul.h dde_linux: use correct type in lx_emul's min 2018-09-13 14:54:20 +02:00
otg_whitelist.h dde_linux: update usb to 4.4.3 2016-05-26 15:54:12 +02:00
platform.h usb: add OHCI support 2017-05-31 13:16:00 +02:00
signal.h Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
usb_nic_component.h Throw exception for invalid packets at packet streams 2018-11-29 11:54:29 +01:00