cvs commit: src/usr.bin/sed process.c
David Rhodus
drhodus at crater.dragonflybsd.org
Tue Nov 4 07:45:00 PST 2003
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
More information about the Commits
mailing list