Closed
Bug 265707
Opened 21 years ago
Closed 21 years ago
SECMOD_FindSlot always returns NULL
Categories
(NSS :: Libraries, defect, P1)
Tracking
(Not tracked)
RESOLVED
FIXED
3.9.4
People
(Reporter: julien.pierre, Assigned: julien.pierre)
Details
(Keywords: regression)
Attachments
(1 file)
566 bytes,
patch
|
wtc
:
review+
rrelyea
:
superreview+
asa
:
approval-aviary+
mkaply
:
approval1.7.5+
|
Details | Diff | Splinter Review |
The end of this function reads as :
return NULL;
return retSlot;
}
This is the only return path . I believe the "return retSlot" is intended.
Assignee | ||
Updated•21 years ago
|
Priority: -- → P2
Target Milestone: --- → 3.9.4
Assignee | ||
Comment 1•21 years ago
|
||
Assignee: wchang0222 → julien.pierre.bugs
Status: NEW → ASSIGNED
Assignee | ||
Updated•21 years ago
|
Keywords: sun-orion3
Comment 2•21 years ago
|
||
This is a bug where we may need to be bug compatible.
This bug means the body of this function is essentially
never exercised, so its result may be incorrect. Also,
the fix may cause code paths in NSS clients that have
never been tested before, to be taken. So, the fix must
be carefully reviewed, and some key NSS clients need
to be examined to see how they use this function.
Comment 3•21 years ago
|
||
In other words, we may not want to fix this bug in
a patch release.
Assignee | ||
Comment 4•21 years ago
|
||
Wan-Teh,
I believe this is a regression, even though I don't exactly know when it was
introduced yet. On the SUN_NSS_3_3_BRANCH, this function can return a value
other than NULL.
Assignee | ||
Comment 5•21 years ago
|
||
Actually, this is a regression introduced since NSS_3_9_2_RTM . I didn't find a
tag for the 3.9.3 rtm that you made last week, but I would guess it happened
between 3.9.2 and 3.9.3 .
Updated•21 years ago
|
Priority: P2 → P1
Comment 6•21 years ago
|
||
Comment on attachment 163095 [details] [diff] [review]
remove bogus return NULL statement
r=wtc.
Attachment #163095 -
Flags: superreview?(rrelyea0264)
Attachment #163095 -
Flags: review+
Assignee | ||
Comment 7•21 years ago
|
||
Wan-Teh, thanks for the review. I have checked in the fix to NSS_3_9_BRANCH,
since we are building 3.9.4 very soon. I will check in the fix to the tip after
Bob's review.
Checking in pk11util.c;
/cvsroot/mozilla/security/nss/lib/pk11wrap/pk11util.c,v <-- pk11util.c
new revision: 1.41.16.2; previous revision: 1.41.16.1
Comment 8•21 years ago
|
||
Comment on attachment 163095 [details] [diff] [review]
remove bogus return NULL statement
r=relyea
Attachment #163095 -
Flags: superreview?(rrelyea0264) → superreview+
Assignee | ||
Comment 9•21 years ago
|
||
Thanks, Bob ! I checked in the patch to the tip .
Checking in pk11util.c;
/cvsroot/mozilla/security/nss/lib/pk11wrap/pk11util.c,v <-- pk11util.c
new revision: 1.46; previous revision: 1.45
done
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Comment 10•21 years ago
|
||
Requesting aviary 1.0 and mozilla 1.7 branch approval.
This bug is introduced in the NSS 3.9.3 release that
these two branches recently upgraded to. The fix is
very simple.
Flags: blocking1.7.x?
Flags: blocking-aviary1.0?
Updated•21 years ago
|
Keywords: regression
Comment 11•21 years ago
|
||
Please use the 'approval-aviary?' and 'approval1.7.x?' flags to request approval
(attachment->edit).
Updated•21 years ago
|
Attachment #163095 -
Flags: approval1.7.x?
Attachment #163095 -
Flags: approval-aviary?
Comment 12•21 years ago
|
||
Comment on attachment 163095 [details] [diff] [review]
remove bogus return NULL statement
Please get this into aviary quickly.
Attachment #163095 -
Flags: approval1.7.x?
Attachment #163095 -
Flags: approval1.7.x+
Attachment #163095 -
Flags: approval-aviary?
Attachment #163095 -
Flags: approval-aviary+
Comment 13•21 years ago
|
||
Comment on attachment 163095 [details] [diff] [review]
remove bogus return NULL statement
Requesting aviary 1.0 checkin again.
Attachment #163095 -
Flags: approval-aviary+ → approval-aviary?
Comment 14•21 years ago
|
||
Comment on attachment 163095 [details] [diff] [review]
remove bogus return NULL statement
a=asa for branch checkin. Time is short so please land quickly.
Attachment #163095 -
Flags: approval-aviary? → approval-aviary+
Comment 15•21 years ago
|
||
Comment on attachment 163095 [details] [diff] [review]
remove bogus return NULL statement
I checked in this fix on the AVIARY_1_0_20040515_BRANCH
(Firefox 1.0).
Checking in pk11util.c;
/cvsroot/mozilla/security/nss/lib/pk11wrap/pk11util.c,v <-- pk11util.c
new revision: 1.41.22.2; previous revision: 1.41.22.1
done
Updated•21 years ago
|
Flags: blocking1.7.x?
Flags: blocking-aviary1.0?
You need to log in
before you can comment on or make changes to this bug.
Description
•