Closed
Bug 1871441
Opened 2 years ago
Closed 2 years ago
Core DLP code should calculate file digests if necessary
Categories
(Firefox :: Data Loss Prevention, task, P2)
Firefox
Data Loss Prevention
Tracking
()
RESOLVED
FIXED
123 Branch
Tracking | Status | |
---|---|---|
firefox123 | --- | fixed |
People
(Reporter: gstoll, Assigned: gstoll)
Details
Attachments
(2 files)
This would make it easier on calling code, because the calling code is often on the main thread and we shouldn't be doing file I/O on the main thread.
Assignee | ||
Updated•2 years ago
|
Assignee: nobody → gstoll
Status: NEW → ASSIGNED
Priority: -- → P2
Assignee | ||
Comment 1•2 years ago
|
||
Pushed by gstoll@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/97aee1542e79
calcuate digest in content analysis code if caller does not r=handyman
Comment 3•2 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox123:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 123 Branch
Assignee | ||
Comment 4•2 years ago
|
||
Use a bigger buffer for reading file contents, and use MOZ_DIAGNOSTIC_ASSERT to make sure we're not doing file IO on the main thread.
Pushed by gstoll@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9343b9b9d52e
small fixes to ContentAnalysisRequest::GetFileDigest() r=rkraesig
Comment 6•1 years ago
|
||
Flags: needinfo?(gstoll)
Assignee | ||
Comment 7•1 years ago
|
||
I was skeptical, but this looks like a "real" failure - it fails consistently with my change and succeeds without it. :sfink is looking into why this seemingly-innocuous change caused this.
Flags: needinfo?(gstoll)
Assignee | ||
Comment 8•1 years ago
|
||
The hazard analyzer problem is bug 1874510. I'm reworking this change slightly to avoid hitting it.
Pushed by gstoll@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/7a271c737a80
small fixes to ContentAnalysisRequest::GetFileDigest() r=rkraesig
Comment 10•1 years ago
|
||
bugherder |
You need to log in
before you can comment on or make changes to this bug.
Description
•