commit 1ebc105303485bce4d68022b9f539c3b33171f7b parent 8c09c8b9acac648bdb59aaea21d32a5686f5cdf3 Author: Nihal Jere <nihal@nihaljere.xyz> Date: Mon, 2 Aug 2021 00:09:48 -0500 atd: fix segfault Diffstat:
M | atd.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/atd.c b/atd.c @@ -386,7 +386,7 @@ int main(int argc, char *argv[]) .sun_family = AF_UNIX, .sun_path = "/tmp/atsim", }; - struct command cmd; + struct command cmd = { 0 }; ssize_t ret = 0; sigset_t mask; char *next;