This repository has been archived by the owner on Oct 31, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 284
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
address a security vulnerability in pyinstaller < 3.6 (#5052)
* address a security vulnerability in pyinstaller < 3.6 * Deleted all hooks that are now native pyinstaller hooks * Cleanup of hook files, this way its easier to keep track of new native hooks * revert `dns` hook changes * bring back numpy DLL load hack, but then in hook-golem.py Co-authored-by: maaktweluit <10008353+maaktweluit@users.noreply.github.com>
- Loading branch information
1 parent
22efdae
commit ce246a3
Showing
10 changed files
with
24 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,4 @@ altgraph==0.16.1 | |
future==0.16.0 | ||
macholib==1.11 | ||
pefile==2017.11.5 | ||
PyInstaller==3.3.1 | ||
PyInstaller==3.6 |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
hiddenimports = ['mock'] |
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
scripts/pyinstaller/hooks/hook-PIL.py → scripts/pyinstaller/hooks/hook-os_win.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
from PyInstaller.utils.hooks import collect_submodules | ||
|
||
hiddenimports = collect_submodules('PIL') | ||
hiddenimports = collect_submodules('os_win') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
hiddenimports = ['scrypt'] |
This file was deleted.
Oops, something went wrong.