]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
The buffer returned by fgenln is not a "C" string and might not be NUL
authorStephane E. Potvin <sepotvin@FreeBSD.org>
Wed, 16 Sep 2009 19:53:29 +0000 (19:53 +0000)
committerStephane E. Potvin <sepotvin@FreeBSD.org>
Wed, 16 Sep 2009 19:53:29 +0000 (19:53 +0000)
commit68961d1200a9cb6bf3619f292a56b2ea35a048ae
treeb87eac38031fbf477e18cfed856a37597d84a24a
parentd830c305ea38d44ac4fc84a5a53d26dc046dd1eb
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
gnu/usr.bin/patch/common.h
gnu/usr.bin/patch/pch.c