Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Oct 1996 09:42:18 -0800 (PST)
From:      Bill Fenner <fenner>
To:        CVS-committers, cvs-all, cvs-sbin
Subject:   cvs commit:  src/sbin/route route.c
Message-ID:  <199610271742.JAA03427@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
fenner      96/10/27 09:42:16

  Modified:    sbin/route  route.c
  Log:
  setuid back to the original caller immediately after opening the route socket.
  Opening the socket is the only privileged operation route requires.
  
  Make a couple of static buffers bigger, and use strncpy() and snprintf() where
  there's a chance of overflow.
  
  Fixes PR bin/1903
  
  Partially Submitted by: Ollivier Robert <roberto@keltia.freenix.fr>
  
  Don't look up the network number if we're being asked to add a host route.
  
  Fixes PR bin/1900
  
  Submitted by:	Bruce A. Mah <bmah@cs.berkeley.edu> (pr bin/1900)
  
  Revision  Changes    Path
  1.16      +19 -14    src/sbin/route/route.c



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