]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r275838;
authorpfg <pfg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 23 Dec 2014 02:46:00 +0000 (02:46 +0000)
committerpfg <pfg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 23 Dec 2014 02:46:00 +0000 (02:46 +0000)
commit2388f0d014e1324c211657bf916e6727273325e7
tree9e3e66c1c299a7a6a2b5745f3acf36d977f6e5dd
parent62421ccb7ec3bc24fe3787568473ed4eb4b84e2a
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/10@276099 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.bin/sed/compile.c