Date: Sun, 2 Nov 2003 15:20:24 -0800 (PST) From: "Tim J. Robbins" <tjr@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/sed process.c Message-ID: <200311022320.hA2NKO7c043583@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
tjr 2003/11/02 15:20:24 PST FreeBSD src repository Modified files: usr.bin/sed process.c Log: Change the buffer length test in NEEDSP() so that it does not subtract one unsigned number from another potentially smaller one, leading to wraparound (and heap corruption, eventually). PR: 58813 MFC after: 2 weeks Revision Changes Path 1.32 +2 -1 src/usr.bin/sed/process.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200311022320.hA2NKO7c043583>