Chromium Code Reviews
DescriptionFix several problems with the content verification code
-While we're doing the initial scan of files to build up
computed_hashes.json, if we notice a mismatch, report that right
away. This also fixes problems where if you modify/delete
computed_hashes.json, enforcement would never work.
-Avoid an infinite loop in ContentVerifyJob by making sure we stop
checking newly read bytes after we've already reported a failure
(we were stuck failing to advance to the next block after reporting
a failure)
BUG=375992, 375953
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=278071
Patch Set 1 : ready #
Total comments: 5
Patch Set 2 : responded to review comments #
Messages
Total messages: 7 (0 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||