genode/repos/os/src/server/vfs
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
..
assert.h VFS: nonblocking interface 2017-08-28 16:49:38 +02:00
main.cc Throw exception for invalid packets at packet streams 2018-11-29 11:54:29 +01:00
node.h VFS: add an error to to the Sync_result enum 2018-08-02 14:36:49 +02:00
target.mk server/vfs: use Id_space to manage open nodes 2017-02-07 11:12:21 +01:00