Closed
Bug 807822
Opened 12 years ago
Closed 12 years ago
No noise added to completion request in some circumstances
Categories
(Toolkit :: Safe Browsing, defect)
Toolkit
Safe Browsing
Tracking
()
RESOLVED
FIXED
Firefox 19
People
(Reporter: gcp, Unassigned)
Details
Attachments
(1 file)
(deleted),
patch
|
dcamp
:
review+
|
Details | Diff | Splinter Review |
Situation in SafeBrowsing:
- We have cached completions.
- We started up the browser freshly and haven't done any database updates.
- We try to open a malware/phishing page.
In this case, we'll return immediately from LookupCache::Has, without having probed the PrefixSet. This will cause the AddNoise lookup to fail as it will not know where to look for noise. Because we didn't do any database updates yet, the table will not be considered "fresh" and we need to do a remote lookup @Google despite having the completion. This remote lookup will be done without noise.
This can probably be solved by just moving the check for completions as an additional check below the prefixset probe in LookupCache::Has, instead of having it replace it.
Reporter | ||
Comment 1•12 years ago
|
||
Attachment #677773 -
Flags: review?(dcamp)
Updated•12 years ago
|
Attachment #677773 -
Flags: review?(dcamp) → review+
Reporter | ||
Comment 2•12 years ago
|
||
https://tbpl.mozilla.org/?tree=Try&rev=caa492f7913b
https://hg.mozilla.org/mozilla-central/rev/a82389691227
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Reporter | ||
Updated•12 years ago
|
Target Milestone: --- → Firefox 19
Assignee | ||
Updated•10 years ago
|
Product: Firefox → Toolkit
You need to log in
before you can comment on or make changes to this bug.
Description
•