pipewire/pipewire-v4l2/src
Wim Taymans 1a3df16e27 mem: handle overflow in pw_map_range_init()
Integer overflows can result in map_range_init() to return wrong offset
or size that can result in access to invalid or unmapped memory.

Check for the overflows and return an EOVERFLOW error.

Found by Claude Code.
2026-04-08 09:47:57 +02:00
..
meson.build v4l2: unset _TIME_BITS in addition to _FILE_OFFSET_BITS 2024-03-16 09:25:27 +01:00
pipewire-v4l2.c mem: handle overflow in pw_map_range_init() 2026-04-08 09:47:57 +02:00
pipewire-v4l2.h treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
pw-v4l2.in ci: ShellCheck preprocessed scripts separately 2023-09-15 08:49:36 +00:00
v4l2-func.c pipewire-v4l2: move open*() flag check into function 2024-06-25 19:10:13 +02:00