mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-04-30 06:46:49 -04:00
File and Resource Handling: Medium The V4L2 device file descriptor was opened without the O_CLOEXEC flag. If a child process is subsequently spawned (e.g., via fork+exec), the video device fd would be inherited, potentially allowing the child process unauthorized access to the camera device. Fixed by adding O_CLOEXEC to the open() flags. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| meson.build | ||
| v4l2-device.c | ||
| v4l2-source.c | ||
| v4l2-udev.c | ||
| v4l2-utils.c | ||
| v4l2.c | ||
| v4l2.h | ||