]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r305469:
authordelphij <delphij@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 9 Sep 2016 07:00:50 +0000 (07:00 +0000)
committerdelphij <delphij@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 9 Sep 2016 07:00:50 +0000 (07:00 +0000)
commitf8c0e87271f56f8f691a20257f198a3ff9a8e3b0
treee0e9c3a00dda8265605af966ddf73cf48b6c0ee5
parent8bb96b94bc383a8f7ade8a96799abefa88f72216
MFC r305469:

Ensure that we always open only files that is named by explicitly
using shell redirections instead of having gzip(1) to decide what
file to open.

Issue reported in the "non-cryptanalytic attacks against freebsd
update components" anonymous gist.

Reviewed by: allanjude, emaste

git-svn-id: svn://svn.freebsd.org/base/stable/9@305650 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.sbin/portsnap/portsnap/portsnap.sh