]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r275838;
authorpfg <pfg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 23 Dec 2014 02:47:14 +0000 (02:47 +0000)
committerpfg <pfg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 23 Dec 2014 02:47:14 +0000 (02:47 +0000)
commita100af0ca6d861e253d9c142846eaa4524fae8b9
tree3b6124d9da4cbed87f417d480083249867cf4547
parent07e15a2003f7d11f5e8878a035c16bd8c8b97d1b
MFC r275838;
sed: Bounds check the file path used in the 'w' command.

Modified version of a diff from Sebastien Marie to prevent a crash found
with the afl fuzzer.

Obtained from: OpenBSD (CVS Rev. 1.37)

git-svn-id: svn://svn.freebsd.org/base/stable/9@276100 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.bin/sed/compile.c