Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Mar 1997 01:50:27 -0800 (PST)
From:      Warner Losh <imp>
To:        CVS-committers, cvs-all, cvs-sbin
Subject:   cvs commit:  src/sbin/ping ping.c
Message-ID:  <199703030950.BAA18122@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

imp         97/03/03 01:50:26

  Modified:    sbin/ping  ping.c
  Log:
  Check the size of the IP address reutrned from gethostbyname2, per PR
  2578 from Julian A.  Likely not strictly needed, but it doesn't hurt
  and protects ping against possible buffer overflows if the resolver
  were to return large IP addresses.
  
  Revision  Changes    Path
  1.20      +3 -1      src/sbin/ping/ping.c



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