From owner-cvs-all Mon Jun 8 22:08:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA01904 for cvs-all-outgoing; Mon, 8 Jun 1998 22:08:18 -0700 (PDT) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA01829; Mon, 8 Jun 1998 22:07:55 -0700 (PDT) (envelope-from imp@FreeBSD.org) From: Warner Losh Received: (from imp@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id WAA17464; Mon, 8 Jun 1998 22:06:31 -0700 (PDT) Date: Mon, 8 Jun 1998 22:06:31 -0700 (PDT) Message-Id: <199806090506.WAA17464@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/ypserv yp_dnslookup.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk imp 1998/06/08 22:06:30 PDT Modified files: usr.sbin/ypserv yp_dnslookup.c Log: If we get back too much data to fit in result, return NULL. This avoids a buffer overflow, but might negatively impact those hosts who have enough aliases to fill MAXHOSTNAMELEN * 2 characters in them. Good candidate for merging back into -stable. Lightly tested by me, but it came from OpenBSD a while ago. Obtained from: OpenBSD Revision Changes Path 1.14 +5 -1 src/usr.sbin/ypserv/yp_dnslookup.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message