Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
This commit is contained in:
Iker Pedrosa 2025-11-25 10:30:54 +01:00
commit 20b5296027
2 changed files with 32 additions and 1 deletions

26
test.patch Normal file
View file

@ -0,0 +1,26 @@
From 012684d388881727d6ce457d710a03d6df216409 Mon Sep 17 00:00:00 2001
From: Iker Pedrosa <ipedrosa@redhat.com>
Date: Tue, 25 Nov 2025 09:52:03 +0100
Subject: [PATCH] Test
Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
---
src/useradd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/useradd.c b/src/useradd.c
index f7e46d6b..e2e95693 100644
--- a/src/useradd.c
+++ b/src/useradd.c
@@ -2440,7 +2440,7 @@ int main (int argc, char **argv)
#endif
unsigned long subuid_count = 0;
unsigned long subgid_count = 0;
- struct option_flags flags;
+ struct option_flags flags = {0};
bool process_selinux;
log_set_progname(Prog);
--
2.52.0