Commit Diff


commit - b8627881d887e30e2095ae3e269e097450500e03
commit + 2099802b3cabc45f0b25079a9ab4919921da07a6
blob - bf8a2a7b3eea777fc48924919ce4b4bf4f19daef
blob + 9c4b6acc8a51cb30fb2256ee75ae8d865d721577
--- modules/timer.c
+++ modules/timer.c
@@ -82,6 +82,7 @@ start_timer_process(int *pipe_fd, int timerval_fd)
 	{
 		if (poll(&pfd, 1, INFTIM) > 0)
 		{
+			(void)memset(buf, '\0', sizeof(buf));
 			n = read(pfd.fd, buf, sizeof(buf));
 
 			if (n < 0 && errno == EAGAIN) continue;