Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Jun 1998 22:06:31 -0700 (PDT)
From:      Warner Losh <imp@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
Message-ID:  <199806090506.WAA17464@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806090506.WAA17464>