Closed
Bug 1212601
Opened 9 years ago
Closed 8 years ago
Table creation fails when parsing large digest256 list
Categories
(Toolkit :: Safe Browsing, defect)
Toolkit
Safe Browsing
Tracking
()
RESOLVED
WORKSFORME
mozilla43
People
(Reporter: mwobensmith, Assigned: dimi)
References
()
Details
(Whiteboard: tpe-seceng)
Attachments
(1 file)
59.92 KB,
text/plain
|
Details |
1. Unzip sample files. 2. Launch pyserver13000.py 3. Launch pyserver13001.py 4. Change Fx42 prefs for shavar list URL to "localhost:13000" 5. Delete on-disk tracking protection tables. 6. Relaunch Fx42 via command line, using environment variables from here for debugging: https://wiki.mozilla.org/Phishing_Protection#QA 7. Watch terminal for debug output. Results: Indicates that 88mb list was accepted and parsed, but tables were not created. Expected: Create the tables or indicate reason for failure.
Reporter | ||
Comment 1•9 years ago
|
||
Reporter | ||
Updated•9 years ago
|
Summary: Table creation fails when parsing large shavar list → Table creation fails when parsing large digest256 list
Updated•9 years ago
|
Component: DOM: Security → Safe Browsing
Product: Core → Toolkit
Reporter | ||
Comment 2•9 years ago
|
||
Test files too big to attach here. Download ZIP instead: http://people.mozilla.org/~mwobensmith/test/1212601.zip
Comment 3•8 years ago
|
||
We should figure out what it is that makes the parsing fail first and then put a reasonable file size limit on this (bug 1212600).
Whiteboard: tpe-seceng
Assignee | ||
Comment 4•8 years ago
|
||
Hi François, If you don't mind, i would like to work on this bug
Assignee: francois → dlee
Status: NEW → ASSIGNED
Assignee | ||
Comment 5•8 years ago
|
||
(In reply to Matt Wobensmith [:mwobensmith][:matt] from comment #2) > Test files too big to attach here. > > Download ZIP instead: > http://people.mozilla.org/~mwobensmith/test/1212601.zip Hi Matt, I can't download the file now, could you help provide it again ? thanks!
Flags: needinfo?(mwobensmith)
Reporter | ||
Comment 6•8 years ago
|
||
Hi Dimi, the file has been uploaded. Give it a try.
Flags: needinfo?(mwobensmith)
Updated•8 years ago
|
Version: 43 Branch → unspecified
Assignee | ||
Comment 7•8 years ago
|
||
(In reply to Matt Wobensmith [:mwobensmith][:matt] from comment #6) > Hi Dimi, the file has been uploaded. Give it a try. Thanks! The reason that makes parsing fail is because of maximum chunk size allowed[1]. The file indicates that chunk size is 88317856 (a:1444243726:32:88317856), which over the current threshold (1024*1024)[2] [1] https://dxr.mozilla.org/mozilla-central/source/toolkit/components/url-classifier/ProtocolParser.cpp#216 [2] https://dxr.mozilla.org/mozilla-central/source/toolkit/components/url-classifier/ProtocolParser.cpp#23
Comment 8•8 years ago
|
||
(In reply to Dimi Lee[:dimi][:dlee] from comment #7) > The reason that makes parsing fail is because of maximum chunk size > allowed[1]. > The file indicates that chunk size is 88317856 (a:1444243726:32:88317856), > which over the current threshold (1024*1024)[2] That looks like it's working as intended: throwing an error and aborting the parsing.
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•