Date: Wed, 16 Dec 2009 14:34:48 +0000 (UTC) From: Jaakko Heinonen <jh@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/usr.bin/comm comm.c Message-ID: <200912161435.nBGEZ7Xi003109@repoman.freebsd.org>
index | next in thread | raw e-mail
jh 2009-12-16 14:34:48 UTC
FreeBSD src repository
Modified files:
usr.bin/comm comm.c
Log:
SVN rev 200604 on 2009-12-16 14:34:48Z by jh
- Prevent overflowing of the buffer length variable in getline() by
limiting its maximum value.
- Exit if reallocf(3) fails in getline(). Failure was silently
considered as end-of-file.
Reviewed by: ghelmer
Approved by: trasz (mentor)
Revision Changes Path
1.24 +12 -6 src/usr.bin/comm/comm.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912161435.nBGEZ7Xi003109>
