Closed
Bug 1871441
Opened 11 months ago
Closed 11 months 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•11 months ago
|
Assignee: nobody → gstoll
Status: NEW → ASSIGNED
Priority: -- → P2
Assignee | ||
Comment 1•11 months 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•11 months ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 11 months ago
status-firefox123:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 123 Branch
Assignee | ||
Comment 4•11 months 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•10 months ago
|
||
Flags: needinfo?(gstoll)
Assignee | ||
Comment 7•10 months 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•10 months 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•10 months ago
|
||
bugherder |
You need to log in
before you can comment on or make changes to this bug.
Description
•