From 9b9d03947d97dc4459f3581a15899047c5740557 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=80=9A=E6=B4=B2?= Date: Mon, 12 Jun 2023 15:23:15 +0800 Subject: [PATCH] Users: silence compiler warnings --- src/detection/users/users_linux.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/detection/users/users_linux.c b/src/detection/users/users_linux.c index 421a6d5d2..e2fce1751 100644 --- a/src/detection/users/users_linux.c +++ b/src/detection/users/users_linux.c @@ -11,6 +11,8 @@ #define getutxent getutent #endif +#pragma GCC diagnostic ignored "-Wstringop-overread" + void ffDetectUsers(FFlist* users, FFstrbuf* error) { struct utmpx* n = NULL;