Date: Wed, 16 Sep 2009 19:53:29 +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: <200909161953.n8GJrcne043454@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
sepotvin 2009-09-16 19:53:29 UTC
FreeBSD src repository
Modified files:
gnu/usr.bin/patch common.h pch.c
Log:
SVN rev 197259 on 2009-09-16 19:53:29Z by sepotvin
The buffer returned by fgenln is not a "C" string and might not be NUL
terminated. Make sure that it is before using it.
Reviewed by: marck@
MFC after: 3 days
Revision Changes Path
1.11 +1 -0 src/gnu/usr.bin/patch/common.h
1.23 +2 -1 src/gnu/usr.bin/patch/pch.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909161953.n8GJrcne043454>
