Closed
Bug 420380
Opened 17 years ago
Closed 17 years ago
allow gethash responses that don't match table/chunk id
Categories
(Toolkit :: Safe Browsing, defect, P1)
Toolkit
Safe Browsing
Tracking
()
RESOLVED
FIXED
Firefox 3
People
(Reporter: dcamp, Assigned: dcamp)
Details
Attachments
(2 files)
|
2.25 KB,
patch
|
tony
:
review+
|
Details | Diff | Splinter Review |
|
5.96 KB,
patch
|
tony
:
review+
|
Details | Diff | Splinter Review |
Right now we require gethash responses to match table and chunk id to consider the match valid. This is necessary to get the caching right, but in a few rare cases it will cause false negatives:
a) If a url was removed from one list and added to another since we last updated
b) If a url was removed and readded to the list since we last updated
c) Google screws up and sends the wrong table/chunk ids because their gethash server is out of sync with their update server (the case that actually prompted this bug report).
Attached patch will accept a gethash match with an incorrect table/chunk id, but won't cache the result.
Flags: blocking-firefox3?
Updated•17 years ago
|
Flags: blocking-firefox3? → blocking-firefox3+
Priority: -- → P1
Target Milestone: --- → Firefox 3
| Assignee | ||
Updated•17 years ago
|
Assignee: nobody → dcamp
| Assignee | ||
Comment 1•17 years ago
|
||
Oops, forgot to attach the patch.
Attachment #307307 -
Flags: review?(tony)
Updated•17 years ago
|
Attachment #307307 -
Flags: review?(tony) → review+
| Assignee | ||
Comment 2•17 years ago
|
||
... and some test updates.
Attachment #307328 -
Flags: review?(tony)
Updated•17 years ago
|
Attachment #307328 -
Flags: review?(tony) → review+
| Assignee | ||
Comment 3•17 years ago
|
||
Checking in src/nsUrlClassifierDBService.cpp;
/cvsroot/mozilla/toolkit/components/url-classifier/src/nsUrlClassifierDBService.cpp,v <-- nsUrlClassifierDBService.cpp
new revision: 1.69; previous revision: 1.68
done
Checking in tests/unit/test_partial.js;
/cvsroot/mozilla/toolkit/components/url-classifier/tests/unit/test_partial.js,v <-- test_partial.js
new revision: 1.7; previous revision: 1.6
done
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Product: Firefox → Toolkit
You need to log in
before you can comment on or make changes to this bug.
Description
•