Closed
Bug 1542104
Opened 6 years ago
Closed 6 years ago
LSNG: Incorrect usage calculation of archived data
Categories
(Core :: Storage: localStorage & sessionStorage, defect)
Core
Storage: localStorage & sessionStorage
Tracking
()
RESOLVED
FIXED
mozilla68
Tracking | Status | |
---|---|---|
firefox68 | --- | fixed |
People
(Reporter: janv, Assigned: janv)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
47 bytes,
text/x-phabricator-request
|
Details | Review | |
62.56 KB,
patch
|
Details | Diff | Splinter Review |
We found out in bug 1541681 that utf16Length returns incorrect results if passed value contains NULs.
We should use "sqlite3_value_bytes16 / 2" instead of letting nsDependentString to do the calculation since it finishes after first NUL character.
Assignee | ||
Comment 1•6 years ago
|
||
Assignee | ||
Comment 2•6 years ago
|
||
Attached the patch here too. It seems that phabricator has problems with the binary file. Or maybe it's a bug in my "hg phabsend", don't know.
Assignee: nobody → jvarga
Pushed by jvarga@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/7e3dcd57fe92
LSNG: Incorrect usage calculation of archived data; r=asuth
Comment 4•6 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
Assignee | ||
Comment 5•6 years ago
|
||
Filed bug 1546561 to fix remaining issues.
You need to log in
before you can comment on or make changes to this bug.
Description
•