~ruther/dwl

16a49e99557563252b9f91db767b431e2238f587 — Dima Krasner 2 years ago 30c24a5
fix null deref in sigchld() if Xwayland is disabled
1 files changed, 1 insertions(+), 1 deletions(-)

M dwl.c
M dwl.c => dwl.c +1 -1
@@ 2543,7 2543,7 @@ sigchld(int unused)
	 * XWayland process
	 */
	while (!waitid(P_ALL, 0, &in, WEXITED|WNOHANG|WNOWAIT) && in.si_pid
			&& in.si_pid != xwayland->server->pid)
			&& (!xwayland || in.si_pid != xwayland->server->pid))
		waitpid(in.si_pid, NULL, 0);
}


Do not follow this link