Date: Thu, 24 Sep 2009 20:43:08 +0000 (UTC) From: "Stephane E. Potvin" <sepotvin@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/gnu/usr.bin/patch common.h pch.c Message-ID: <200909242043.n8OKhI7E079913@repoman.freebsd.org>
index | next in thread | raw e-mail
sepotvin 2009-09-24 20:43:08 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_8)
gnu/usr.bin/patch common.h pch.c
Log:
SVN rev 197472 on 2009-09-24 20:43:08Z by sepotvin
MFC r197259
The buffer returned by fgetln is not a "C" string and might not be NUL
terminated. Make sure that it is before using it.
Reviewed by: marck@
Approved by: re (kib)
Revision Changes Path
1.10.2.2 +1 -0 src/gnu/usr.bin/patch/common.h
1.21.2.2 +2 -1 src/gnu/usr.bin/patch/pch.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909242043.n8OKhI7E079913>
