Page MenuHomeFreeBSD

Use shell redirection for gzip invocations.
ClosedPublic

Authored by delphij on Aug 26 2016, 2:14 AM.
Tags
None
Referenced Files
F131717999: D7653.diff
Fri, Oct 10, 2:51 PM
Unknown Object (File)
Mon, Sep 29, 12:10 AM
Unknown Object (File)
Fri, Sep 19, 9:34 PM
Unknown Object (File)
Aug 4 2025, 3:04 PM
Unknown Object (File)
Jul 25 2025, 7:26 PM
Unknown Object (File)
Jun 29 2025, 5:24 AM
Unknown Object (File)
Jun 25 2025, 10:13 PM
Unknown Object (File)
Jun 21 2025, 8:52 AM
Subscribers

Details

Summary

Ensure that we always open only files that is named by explicitly
using shell redirections.

This is a superset of D7650.

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

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 4942
Build 5005: arc lint + arc unit

Event Timeline

delphij retitled this revision from to Use shell redirection for gzip invocations..
delphij updated this object.
delphij edited the test plan for this revision. (Show Details)
delphij added reviewers: emaste, cperciva.
allanjude edited edge metadata.

I like this, it takes away gunzip's ability to ever get it wrong.

This revision is now accepted and ready to land.Aug 26 2016, 2:49 AM
emaste edited edge metadata.

LGTM

This revision was automatically updated to reflect the committed changes.