genode/repos/os/src/lib
Martin Stein f4a2d932e3 net: check packet data size in accessor
Instead of having a method validate_size in each packet class, check
sizes in the data accessor of the surrounding packet class. This packet
accessor is the one that casts the data pointer to the desired data type
so it is sensible that it also checks whether the desired type would
exceed the available RAM before doing the cast. This also fits nicely
the fact that for the top-level packet-class of a packet, the size must
not be checked (which was previously done).

Issue #465
2018-01-17 12:14:41 +01:00
..
alarm alarm: fix bug in _setup_alarm 2017-10-19 13:29:41 +02:00
blit Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
net net: check packet data size in accessor 2018-01-17 12:14:41 +01:00
server base: classify signals as I/O and application level 2017-05-31 13:15:58 +02:00
timed_semaphore timed_semaphore: fix deprecated warning 2017-05-31 13:16:19 +02:00
timeout Add millisecond accessor to Genode::Duration value object 2017-12-21 15:01:51 +01:00
trace/policy Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
vfs vfs: GNU long file name support for tar 2018-01-17 12:14:41 +01:00