genode/repos/dde_linux/src/lib/usb
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
..
include Throw exception for invalid packets at packet streams 2018-11-29 11:54:29 +01:00
input usb: quickfix pointer-emulation for touch screen 2018-10-29 09:36:22 +01:00
nic dde_linux: use correct type in lx_emul's min 2018-09-13 14:54:20 +02:00
raw Throw exception for invalid packets at packet streams 2018-11-29 11:54:29 +01:00
spec dde_linux/usb: Add RNDIS driver 2017-11-09 12:18:39 +01:00
storage default ahci_drv and part_blk Block sessions to read-only 2017-08-28 16:49:51 +02:00
dummies.c usb: adapt to lx_kit/lx_emul update 2018-08-28 16:18:32 +02:00
lx_emul.cc usb_drv: call 'mod_timer()' with absolute timeout value 2018-10-01 10:41:46 +02:00
main.cc usb: LED suppport 2017-11-30 11:23:11 +01:00
test.cc Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00