DragonFly BSD
DragonFly commits List (threaded) for 2003-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/usr.sbin/lpr/lpc lpc.c


From: David Rhodus <drhodus@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 4 Nov 2003 09:03:11 -0800 (PST)

drhodus     2003/11/04 09:03:11 PST

DragonFly src repository

  Modified files:
    usr.sbin/lpr/lpc     lpc.c 
  Log:
  *	Fix two buffer overflows caused by off-by-one errors: avoid writing
  	a null character 1 byte past the end of cmdline[] when libedit is
  	being used for input, and avoid writing a null pointer 1 element
  	past the end of margvp[].
  
  Obtained from: FreeBSD
  
  Revision  Changes    Path
  1.3       +3 -3      src/usr.sbin/lpr/lpc/lpc.c


http://www.dragonflybsd.org/cvsweb/src/usr.sbin/lpr/lpc/lpc.c.diff?r1=1.2&r2=1.3&f=h



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]