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)

defect
Not set
minor

Tracking

()

RESOLVED FIXED
Firefox 19

People

(Reporter: gcp, Unassigned)

Details

Attachments

(1 file)

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.
Attachment #677773 - Flags: review?(dcamp) → review+
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 19
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: