Closed
Bug 119085
Opened 23 years ago
Closed 23 years ago
cache entries corrupted if size of metadata is zero
Categories
(Core :: Networking: Cache, defect)
Core
Networking: Cache
Tracking
()
RESOLVED
FIXED
mozilla0.9.9
People
(Reporter: gordon, Assigned: gordon)
References
Details
Attachments
(1 file)
563 bytes,
patch
|
darin.moz
:
superreview+
|
Details | Diff | Splinter Review |
nsCacheMetaData::UnflattenMetaData() returns an error when metadata size is zero, causing the associated entry to be unusable.
Darin, I changed the patch to exit early on size==0 rather than change the default return error to catch problems when the reported size doesn't match the size implied by the data itself.
Comment 2•23 years ago
|
||
Comment on attachment 64899 [details] [diff] [review] return NS_OK for size = 0. sr=darin
Attachment #64899 -
Flags: superreview+
Comment 3•23 years ago
|
||
gordon: Is it possible to check this into the 0.9.8 branch? I'm attempting to checkin my patch in to the branch this week and I need yours to maintain proper functionality. Thanks,
I don't see bug 35340 listed as an important bug for 0.9.8. Are you sure you're going to get drivers approval? That's all I need to check this in. I would rather check it in before they branch. Are you ready to check in your patch?
Comment 5•23 years ago
|
||
I'm working to get reviews right now for bug 35340. I'm also generating momentum, so this will be accepted into 0.9.8 branch.
Comment 6•23 years ago
|
||
gordon: I just now had a word with jud. 35340 will not be going into the 0.9.8 branch. So, it is OK if you check this in the trunk for 0.9.9. sorry about the confusion.
patch checked in. Marking FIXED.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•