Closed
Bug 1018061
Opened 11 years ago
Closed 11 years ago
Use mozilla::pkix::der::Input::EnsureLength more consistently
Categories
(Core :: Security: PSM, defect)
Core
Security: PSM
Tracking
()
RESOLVED
FIXED
mozilla32
People
(Reporter: briansmith, Assigned: briansmith)
References
Details
Attachments
(1 file)
2.34 KB,
patch
|
mmc
:
review+
|
Details | Diff | Splinter Review |
1. Switch Input::Read() to use EnsureLength() instead of its own checks.
2. Replace the redundant and unconventional pattern of:
if (EnsureLength(x) != Success) {
return Fail(SEC_ERROR_BAD_DER);
}
with:
if (EnsureLength(x) != Success) {
return Failure;
}
Attachment #8431400 -
Flags: review?(mmc)
![]() |
||
Updated•11 years ago
|
Attachment #8431400 -
Flags: review?(mmc) → review+
Assignee | ||
Comment 1•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/8a49fdbf8041
Thanks for the review!
![]() |
||
Comment 2•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•