-
-
Notifications
You must be signed in to change notification settings - Fork 392
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cpio_utils: verify also image hash while scanning cpio
When update from local file is performed, files hashes are verified only during cpio_utils::copyfile called from fs handler and not before. If fs handler (ubi) is not extracting file to ram before writing, unsigned file can be write to fs. Signed-off-by: Martin Geier <[email protected]> Tested-by: Stefano Babic <[email protected]>
- Loading branch information
1 parent
33c8689
commit 48cdf3f
Showing
2 changed files
with
17 additions
and
16 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
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