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.bin/sed process.c


From: David Rhodus <drhodus@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 4 Nov 2003 07:44:36 -0800 (PST)

drhodus     2003/11/04 07:44:36 PST

DragonFly src repository

  Modified files:
    usr.bin/sed          process.c 
  Log:
  *	Change the buffer lenght test in NEEDSP() so that it does not
  	subtract one unsigned number from another potentially smaller
  	one, leading to wraparound (and heap corruption, eventually).
  
  Obtained from: The FreeBSD project
  
  Revision  Changes    Path
  1.4       +1 -1      src/usr.bin/sed/process.c


http://www.dragonflybsd.org/cvsweb/src/usr.bin/sed/process.c.diff?r1=1.3&r2=1.4&f=h



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