Closed
Bug 505682
Opened 15 years ago
Closed 8 years ago
nsSSLIOLayerHelpers::Init must rv check calls to hashtable Init
Categories
(Core :: Security: PSM, defect)
Core
Security: PSM
Tracking
()
RESOLVED
INVALID
People
(Reporter: timeless, Assigned: timeless)
References
()
Details
(Whiteboard: [psm-logic])
Attachments
(1 file)
4.25 KB,
patch
|
KaiE
:
review-
|
Details | Diff | Splinter Review |
http://bonsai.mozilla.org/cvsblame.cgi?file=/mozilla/xpcom/ds/nsDoubleHashtable.h&rev=3.17&mark=99,103-104,330#99 psm isn't checking the rv from Init here, that's a bug. (but it's unlikely to be the cause of this crash...) I wonder if someone could possibly explain why there are so many statics. If there's no good reason to use statics, then we could probably do away with dynamic allocation for those two objects....
Updated•14 years ago
|
Whiteboard: [psm-logic]
Comment 2•12 years ago
|
||
Comment on attachment 389895 [details] [diff] [review] and fix its caller... bitrot and too much distracting noise in this patch
Attachment #389895 -
Flags: review?(kaie) → review-
Comment 3•12 years ago
|
||
adding brian and honza in case they want to work on this correctness cleanup
Comment 4•8 years ago
|
||
Bug 734847 made nsTHashtable infalliable by default (and AFAICT nsNSSIOLayer.(h|cpp) don't use fallible ones) + Bug 910989 got rid of nsTHashtable::Init(), so there's nothing to do here anymore.
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•