Closed
Bug 454419
Opened 16 years ago
Closed 16 years ago
prbool bugs in security/
Categories
(Core Graveyard :: Security: UI, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: taras.mozilla, Assigned: KaiE)
References
Details
Attachments
(1 file, 1 obsolete file)
8.28 KB,
patch
|
KaiE
:
review+
|
Details | Diff | Splinter Review |
The only thing I'm not sure about is the rv return fix in prbool func in nsPKCS12Blob.cpp as the original's logic is weird due to rv/prbool confusion.
Attachment #337686 -
Flags: review?(kaie)
Assignee | ||
Comment 1•16 years ago
|
||
(In reply to comment #0) > The only thing I'm not sure about is the rv return fix in prbool func in > nsPKCS12Blob.cpp as the original's logic is weird due to rv/prbool confusion. I agree. It seems all active code completely ignores the return value of function handleError(). Only some disabled code tried to look at it. I propose to change handleError() to have return type "void" and change the return statements to simply "return;"
Reporter | ||
Comment 2•16 years ago
|
||
That sounds good, could you do that change? Changing return statements is easy. I'm not familiar with the code an unsure of what the logic should for places that do check handleError's return value.
Assignee | ||
Comment 3•16 years ago
|
||
There are no places where the return value of handleError gets checked.
Reporter | ||
Comment 4•16 years ago
|
||
You are right, I was confusing it with some unrelated handleError
Attachment #337686 -
Attachment is obsolete: true
Attachment #337973 -
Flags: review?(kaie)
Attachment #337686 -
Flags: review?(kaie)
Reporter | ||
Comment 5•16 years ago
|
||
Kai, I'm waiting on your review so I can commit this.
Assignee | ||
Updated•16 years ago
|
Attachment #337973 -
Flags: review?(kaie) → review+
Assignee | ||
Comment 6•16 years ago
|
||
Comment on attachment 337973 [details] [diff] [review] fixes r=kaie Please also delete the unnecessary declaration of variable keepGoing. Thanks a lot for the patch!
Reporter | ||
Comment 7•16 years ago
|
||
pushed 3e7b639abe75
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Updated•8 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•