Closed
Bug 987942
Opened 11 years ago
Closed 11 years ago
Check for PK11_CreateContextBySymKey returning null
Categories
(Core :: WebRTC: Networking, defect)
Tracking
()
RESOLVED
FIXED
mozilla31
People
(Reporter: ekr, Assigned: bwc)
Details
Attachments
(1 file, 1 obsolete file)
998 bytes,
patch
|
Details | Diff | Splinter Review |
No description provided.
Updated•11 years ago
|
Group: core-security
Reporter | ||
Comment 1•11 years ago
|
||
See:
http://hg.mozilla.org/mozilla-central/annotate/fa098f9fe89c/media/mtransport/nricectx.cpp#l135
Marked security until we verify that this is just a null pointer dereference.
Reporter | ||
Comment 2•11 years ago
|
||
See:
http://hg.mozilla.org/mozilla-central/annotate/fa098f9fe89c/media/mtransport/nricectx.cpp#l135
Marked security until we verify that this is just a null pointer dereference.
Updated•11 years ago
|
Assignee: nobody → docfaraday
Assignee | ||
Comment 3•11 years ago
|
||
This is just a null pointer deref in PK11_DigestBegin.
Assignee | ||
Comment 4•11 years ago
|
||
Assignee | ||
Comment 5•11 years ago
|
||
Comment on attachment 8400229 [details] [diff] [review]
Check whether PK11_CreateContextBySymKey returns null
Review of attachment 8400229 [details] [diff] [review]:
-----------------------------------------------------------------
Also, we can unmark this as security, since this is just a null pointer member access.
Attachment #8400229 -
Flags: review?(ekr)
Updated•11 years ago
|
Group: core-security
Reporter | ||
Comment 6•11 years ago
|
||
Comment on attachment 8400229 [details] [diff] [review]
Check whether PK11_CreateContextBySymKey returns null
Review of attachment 8400229 [details] [diff] [review]:
-----------------------------------------------------------------
Please revert this formatting change.
::: media/mtransport/nricectx.cpp
@@ +131,5 @@
> if (!skey)
> goto abort;
>
>
> + hmac_ctx = PK11_CreateContextBySymKey(mech, CKA_SIGN, skey, ¶m);
Superfluous reformatting.
Attachment #8400229 -
Flags: review?(ekr) → review+
Assignee | ||
Comment 7•11 years ago
|
||
Undo formatting change.
Assignee | ||
Updated•11 years ago
|
Attachment #8400229 -
Attachment is obsolete: true
Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Comment 8•11 years ago
|
||
Keywords: checkin-needed
Comment 9•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla31
You need to log in
before you can comment on or make changes to this bug.
Description
•