diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-11-16 03:34:05 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-11-16 03:34:05 +0900 |
| commit | 38b5ff0cec266c7c5e423b68e8626f4a4a63d3ee (patch) | |
| tree | 77d33091b0348c5a57cf328fa682ebb35aeaa99e /internal/wayland/wayland-client-helper.c | |
| parent | 3c204b9b40373d1f404b1a16e95fdfebb7d58832 (diff) | |
internal/wayland: check pathname size
This avoids passing a truncated pathname to the kernel.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/wayland/wayland-client-helper.c')
| -rw-r--r-- | internal/wayland/wayland-client-helper.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/internal/wayland/wayland-client-helper.c b/internal/wayland/wayland-client-helper.c index be9ddf0f..0fa0372e 100644 --- a/internal/wayland/wayland-client-helper.c +++ b/internal/wayland/wayland-client-helper.c @@ -3,7 +3,6 @@ #include <stdlib.h> #include <string.h> #include <sys/socket.h> -#include <sys/un.h> #include <unistd.h> #include "security-context-v1-protocol.h" |
