Open
Bug 289976
Opened 20 years ago
Updated 2 years ago
NSS public functions that take nicknames should declare them as const
Categories
(NSS :: Libraries, defect, P2)
Tracking
(Not tracked)
NEW
People
(Reporter: timeless, Unassigned)
Details
Comment 1•20 years ago
|
||
timeless, you are right. Is this bug affecting your app? I took a quick look at this and found that fixing this requires fixing several functions PK11_FindCertFromNickname passes the nickname argument to. Nelson, is there anyone at Sun who you can assign this bug to?
Priority: -- → P2
Target Milestone: --- → 3.11
Comment 2•20 years ago
|
||
This bug was originally about function PK11_FindCertFromNickname, but it really should apply to all NSS public functions that take nickname strings as input arguments. Function PK11_FindCertFromNickname starts by making a strdup of the nickname string, so it is not really necessary to force the const qualifier down to all the functions that it calls. But that's probably a good idea anyway.
Assignee: wtchang → alexei.volkov.bugs
Summary: PK11_FindCertFromNickname should not require a non const nickname → NSS public functions that take nicknames should declare them as const
we have poor code because of this, and it's preventing us from providing decent patches to mozilla.org.
Updated•20 years ago
|
QA Contact: bishakhabanerjee → jason.m.reid
Updated•19 years ago
|
QA Contact: jason.m.reid → libraries
Updated•19 years ago
|
Target Milestone: 3.11 → 3.11.1
Updated•18 years ago
|
Target Milestone: 3.11.1 → 3.12
Comment 4•16 years ago
|
||
Unsetting target milestone in unresolved bugs whose targets have passed.
Target Milestone: 3.12 → ---
Comment 5•2 years ago
|
||
The bug assignee is inactive on Bugzilla, and this bug has priority 'P2'.
:beurdouche, could you have a look please?
For more information, please visit auto_nag documentation.
Assignee: alvolkov.bgs → nobody
Flags: needinfo?(bbeurdouche)
Updated•2 years ago
|
Severity: normal → S3
Comment 6•2 years ago
|
||
We have modified the bot to only consider P1 as high priority, so I'm cancelling the needinfo here.
Flags: needinfo?(bbeurdouche)
You need to log in
before you can comment on or make changes to this bug.
Description
•