genode/repos/os
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
..
doc
include Throw exception for invalid packets at packet streams 2018-11-29 11:54:29 +01:00
lib net: get rid of unused mac_from_string method 2018-05-30 13:36:36 +02:00
recipes init: health monitoring of child components 2018-11-27 11:36:34 +01:00
run base: unify mp_server and affinity test 2018-11-27 11:36:35 +01:00
src Throw exception for invalid packets at packet streams 2018-11-29 11:54:29 +01:00
xsd nic_bridge: fixed MAC addresses 2018-11-27 11:36:35 +01:00
README

This source-code repository contains genuine low-level OS components and
interfaces of Genode. It solely depends on the framework's base API.