Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Sep 1996 17:50:15 -0700 (PDT)
From:      Bill Fenner <fenner>
To:        CVS-committers, cvs-all, cvs-usrsbin
Subject:   cvs commit:  src/usr.sbin/traceroute traceroute.c
Message-ID:  <199609100050.RAA02202@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
fenner      96/09/09 17:50:14

  Modified:    usr.sbin/traceroute  traceroute.c
  Log:
  Change strcpy() to strncpy() in several places, and give gethostname()
  the real buffer size.  Note that the strncpy(domain, ...) doesn't need to
  be a strncpy(), since it is copying from itself to itself, but belts
  and suspenders don't hurt and this is not time-critical code.
  
  Fixes the half of PR bin/1581 that wasn't fixed in rev 1.7
  
  Submitted by:	Karl <karl@codebase.mcs.net>
  
  Revision  Changes    Path
  1.11      +5 -5      src/usr.sbin/traceroute/traceroute.c



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