summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2014-11-04 16:16:04 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2014-11-04 16:16:04 +0000
commitaeb45e99eb6745ea4f71853b261aff59104749a9 (patch)
tree3c18ea48ba374e8eb7db8c2cb669b33478eb9ce3 /usr.sbin
parent734849c7bf5bb3b1a3452a3fc3d1241104bab0df (diff)
use after free in poll loop
from Dimitris Papastamos
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/ypserv/yppush/yppush.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/ypserv/yppush/yppush.c b/usr.sbin/ypserv/yppush/yppush.c
index 755e24d21da..f8fb6d38e11 100644
--- a/usr.sbin/ypserv/yppush/yppush.c
+++ b/usr.sbin/ypserv/yppush/yppush.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: yppush.c,v 1.29 2014/10/11 02:29:24 doug Exp $ */
+/* $OpenBSD: yppush.c,v 1.30 2014/11/04 16:16:03 deraadt Exp $ */
/*
* Copyright (c) 1995 Mats O Jansson <moj@stacken.kth.se>
@@ -99,7 +99,6 @@ my_svc_run(void)
exit(0);
default:
svc_getreq_poll(pfd, nready);
- free(pfd);
break;
}
}