]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r305469:
authordelphij <delphij@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 9 Sep 2016 06:59:49 +0000 (06:59 +0000)
committerdelphij <delphij@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 9 Sep 2016 06:59:49 +0000 (06:59 +0000)
commit86a5a0fd2f02aef4209bf7736d8a84e51f33ff75
tree6a7616cd10494ebe1114df8c136e401098327cf7
parentfa3529842d1ee12914ceffc51836d03e9f2a9169
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/10@305649 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.sbin/portsnap/portsnap/portsnap.sh