-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update: use json to save opae.io driver state (#3028)
### Description opae.io init unbinds the target device from its driver and writes a breadcrumb out to file so that the driver can be restored during opae.io release. Previously, we were using the pickle module to do this. This github issue #3024 was filed, noting that pickle is prone to code execution injection issues. The proposal was to use json instead. ### Collateral (docs, reports, design examples, case IDs): #3024 - [ ] Document Update Required? (Specify FIM/AFU/Scripts) ### Tests added: ### Tests run: Manual verification using opae.io init followed by opae.io release. Signed-off-by: Tim Whisonant <[email protected]>
- Loading branch information
Tim Whisonant
authored
Oct 17, 2023
1 parent
44cffd1
commit 235e16e
Showing
1 changed file
with
23 additions
and
27 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