Closed
Bug 1343191
Opened 8 years ago
Closed 8 years ago
Fix reported cache size overflow in about:cache
Categories
(Core :: Networking: Cache, defect)
Core
Networking: Cache
Tracking
()
RESOLVED
FIXED
mozilla54
Tracking | Status | |
---|---|---|
firefox54 | --- | fixed |
People
(Reporter: mayhemer, Assigned: mayhemer)
Details
(Whiteboard: [necko-active])
Attachments
(1 file, 1 obsolete file)
914 bytes,
patch
|
mayhemer
:
review+
|
Details | Diff | Splinter Review |
(In reply to Michal Novotny (:michal) from comment #6)
> Yes, "Storage in use" is wrong here. The size overflows here
> http://searchfox.org/mozilla-central/rev/
> 4039fb4c5833706f6880763de216974e00ba096c/netwerk/cache2/CacheStorageService.
> cpp#448
Should be mSize = static_cast<uint64_t>(size) << 10;
![]() |
Assignee | |
Comment 1•8 years ago
|
||
Despite the change in about-cache is probably not needed, make sure it builds.
https://treeherder.mozilla.org/#/jobs?repo=try&revision=1336dbe547b2bf7f53d0fc7a18da35b95dd33f87
Attachment #8842417 -
Flags: review?(michal.novotny)
Updated•8 years ago
|
Attachment #8842417 -
Flags: review?(michal.novotny) → review+
![]() |
Assignee | |
Comment 2•8 years ago
|
||
Needs care:
/builds/slave/try-l64-st-an-d-00000000000000/build/src/netwerk/protocol/about/nsAboutCache.cpp:343:13: error: call to member function 'AppendInt' is ambiguous
Updated•8 years ago
|
Whiteboard: [necko-active]
![]() |
Assignee | |
Comment 3•8 years ago
|
||
The 1024UUL part is not necessary. The result has size of the left operand.
Attachment #8842417 -
Attachment is obsolete: true
Attachment #8842492 -
Flags: review+
![]() |
Assignee | |
Updated•8 years ago
|
Keywords: checkin-needed
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/81930cfe9182
Displayed HTTP cache occupation size may overflow. r=michal
Keywords: checkin-needed
Comment 5•8 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox54:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla54
You need to log in
before you can comment on or make changes to this bug.
Description
•