Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jul 2001 16:13:40 -0700 (PDT)
From:      Garance A Drosehn <gad@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/usr.sbin/lpr/lpd printjob.c
Message-ID:  <200107232313.f6NNDeZ99823@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
gad         2001/07/23 16:13:40 PDT

  Modified files:
    usr.sbin/lpr/lpd     printjob.c 
  Log:
  Basically rewrite the dofork() routine, to add more error-checking and
  correct the error-checking that was there.  With the old code, an error
  return from getpwuid(daemon_user) could turn the lpd process into a very
  effective fork-bomb...
  
  Reviewed by:	freebsd-audit freebsd-print (a little...)
  MFC after:	6 days
  
  Revision  Changes    Path
  1.42      +56 -15    src/usr.sbin/lpr/lpd/printjob.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?200107232313.f6NNDeZ99823>