Closed Bug 1436475 Opened 6 years ago Closed 6 years ago

Update vendored 7-zip self-extractor code to 18.01

Categories

(Firefox :: Installer, enhancement, P1)

Unspecified
Windows
enhancement

Tracking

()

RESOLVED FIXED
Firefox 60
Tracking Status
firefox60 --- fixed

People

(Reporter: molly, Assigned: molly)

References

(Regressed 1 open bug)

Details

Attachments

(5 files)

The code that we build our 7-zip SFX module from looks to be based on version 4.42, released in 2006. If nothing else, we can probably expect to get improved performance out of updating to the current 18.01 release.

In the process, we should also collect our changes to this code into a patch file, to make future updates easier; this one is going to be kind of a pain.

Note that this is *not* a response to the security issues recently reported in 7-zip (CVE-2017-17969 and CVE-2018-5996). We do not use the formats implicated in those issues. Reading that report did get me thinking about this, though.
The performance difference is greater than I expected; on my machine (which has a very fast CPU and an SSD), the time to extract the full installer went from 6.3 seconds to 4.3 seconds, averaged over 5 runs. So I think I'll go ahead and get on this.
Assignee: nobody → mhowell
Status: NEW → ASSIGNED
Priority: P3 → P1
Comment on attachment 8950765 [details]
Bug 1436475 Part 1 - Remove the old 7-zip code.

https://reviewboard.mozilla.org/r/220012/#review226162
Attachment #8950765 - Flags: review?(agashlin) → review+
Comment on attachment 8950766 [details]
Bug 1436475 Part 2 - Add the 7-zip 18.01 code.

https://reviewboard.mozilla.org/r/220014/#review226164
Attachment #8950766 - Flags: review?(agashlin) → review+
Comment on attachment 8950767 [details]
Bug 1436475 Part 3 - Port our customizations forward to the new 7-zip code.

https://reviewboard.mozilla.org/r/220016/#review226166
Attachment #8950767 - Flags: review?(agashlin) → review+
Comment on attachment 8950768 [details]
Bug 1436475 Part 4 - Add the 7-zip SFX binary compiled from the new code, and related resources.

https://reviewboard.mozilla.org/r/220018/#review226170
Attachment #8950768 - Flags: review?(agashlin) → review+
Comment on attachment 8950769 [details]
Bug 1436475 Part 5 - Add a readme and a patch file with our changes to the 7-zip directory.

https://reviewboard.mozilla.org/r/220020/#review226174
Attachment #8950769 - Flags: review?(agashlin) → review+
Pushed by mhowell@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0ee15b723c4a
Part 1 - Remove the old 7-zip code. r=agashlin
https://hg.mozilla.org/integration/autoland/rev/1f6f1636a500
Part 2 - Add the 7-zip 18.01 code. r=agashlin
https://hg.mozilla.org/integration/autoland/rev/354ea5121c9c
Part 3 - Port our customizations forward to the new 7-zip code. r=agashlin
https://hg.mozilla.org/integration/autoland/rev/2a1c370690be
Part 4 - Add the 7-zip SFX binary compiled from the new code, and related resources. r=agashlin
https://hg.mozilla.org/integration/autoland/rev/66de6bae080a
Part 5 - Add a readme and a patch file with our changes to the 7-zip directory. r=agashlin
Depends on: 1486376
Regressions: 1554450
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: