genode/repos/os/src
Stefan Kalkowski c0a0c0ae71 genode_c_api/usb: prevent invalid pointer deref
Limit the use of Reg_list::for_each that caches a next pointer
of its items to allow destruction of items in its lambda body.
Instead provide an Reg_list::apply function in addition, which
takes a condition lambda to find the matching item, and a lambda
processed on it. In most use-cases where for_each was used, only
one item was searched for. Here we can use apply now., without
the need for a cached pointer, nor too many iterations.

Fixes genodelabs/genode#5349
2024-10-08 09:09:23 +02:00
..
app pci_decode: remove HDAUDIO quirk 2024-09-06 10:37:40 +02:00
driver capture_session: capture stop/wakeup protocol 2024-10-08 09:09:22 +02:00
init tool/run: use xmlcatalog for xsd file paths 2024-06-20 12:56:20 +02:00
lib genode_c_api/usb: prevent invalid pointer deref 2024-10-08 09:09:23 +02:00
monitor monitor: skip wait for terminal connection 2024-08-27 15:24:20 +02:00
server nitpicker: remove periodic mode of operation 2024-10-08 09:09:23 +02:00
test capture_session: capture stop/wakeup protocol 2024-10-08 09:09:22 +02:00
trace/policy Add trace policy binary to BUILD_ARTIFACTS 2023-05-30 17:00:01 +02:00