Closed
Bug 336479
Opened 19 years ago
Closed 19 years ago
oomish crash [@ cryptojs_GetScriptPrincipal] because of a missing *
Categories
(Core Graveyard :: Security: UI, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: timeless, Assigned: timeless)
References
()
Details
(Keywords: coverity, crash, fixed1.8.1)
Crash Data
Attachments
(1 file, 1 obsolete file)
|
645 bytes,
patch
|
KaiE
:
review+
bzbarsky
:
superreview+
KaiE
:
approval-branch-1.8.1+
|
Details | Diff | Splinter Review |
I think this is probably an unreachable case, in which case the code should be optimized not to null check after it would crash.
Comment 1•19 years ago
|
||
I assume the code meant to do:
if (!*result) {
instead of what it does. In any case, we should make that change.
Flags: blocking1.9a2?
Summary: crash or hopefully deadcode [@ cryptojs_GetScriptPrincipal] → oomish crash [@ cryptojs_GetScriptPrincipal] because of a missing *
Assignee: kengert → timeless
Status: NEW → ASSIGNED
Attachment #221178 -
Flags: superreview?(bzbarsky)
Attachment #221178 -
Flags: review?(kengert)
Comment 3•19 years ago
|
||
Comment on attachment 221178 [details] [diff] [review]
not quite what bz said
er.. no. Wrong if statement.
Attachment #221178 -
Flags: superreview?(bzbarsky) → superreview-
Attachment #221178 -
Attachment description: what bz said → not quite what bz said
Attachment #221178 -
Attachment is obsolete: true
Attachment #221178 -
Flags: review?(kengert)
Attachment #221212 -
Flags: superreview?(bzbarsky)
Attachment #221212 -
Flags: review?(kengert)
Comment 5•19 years ago
|
||
Comment on attachment 221212 [details] [diff] [review]
what bz said
Yeah, better. ;)
Attachment #221212 -
Flags: superreview?(bzbarsky) → superreview+
Comment 6•19 years ago
|
||
Comment on attachment 221212 [details] [diff] [review]
what bz said
Good catch.
Attachment #221212 -
Flags: review?(kengert)
Attachment #221212 -
Flags: review+
Attachment #221212 -
Flags: approval-branch-1.8.1+
Comment 7•19 years ago
|
||
landed on trunk by timeless at the same time as he landed on the 1.8 branch. Both branches were closed at the time, though apparently bsmedberg approved the trunk checkin.
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
mozilla/security/manager/ssl/src/nsCrypto.cpp 1.65
MOZILLA_1_8_BRANCH:
mozilla/security/manager/ssl/src/nsCrypto.cpp 1.55.2.7
Keywords: fixed1.8.1
Updated•19 years ago
|
Flags: blocking1.9a2?
Updated•14 years ago
|
Crash Signature: [@ cryptojs_GetScriptPrincipal]
Updated•9 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•