Open Bug 303172 Opened 19 years ago Updated 2 years ago

smime: NSSCMSKEKIdentifierTemplate template does not match the struct NSSCMSKEKIdentifierStr

Categories

(NSS :: Libraries, defect, P2)

3.10
x86
All

Tracking

(Not tracked)

People

(Reporter: alvolkov.bgs, Unassigned)

Details

One more case of template missmatch in smime library that is similar to
bug https://bugzilla.mozilla.org/show_bug.cgi?id=303159 . 

nss/lib/smime/cmst.h:394 :

struct NSSCMSKEKIdentifierStr {
    SECItem			keyIdentifier;
    SECItem *			date;			/* optional */
    SECItem *			other;			/* optional */
};
typedef struct NSSCMSKEKIdentifierStr NSSCMSKEKIdentifier;

nss/lib/smime/cmsasn1.c:391:
 
static const SEC_ASN1Template NSSCMSKEKIdentifierTemplate[] = {
    { SEC_ASN1_SEQUENCE,
	  0, NULL, sizeof(NSSCMSKEKIdentifier) },
    { SEC_ASN1_OCTET_STRING,
	  offsetof(NSSCMSKEKIdentifier,keyIdentifier) },
    { SEC_ASN1_OPTIONAL | SEC_ASN1_OCTET_STRING,
	  offsetof(NSSCMSKEKIdentifier,date) },
    { SEC_ASN1_OPTIONAL | SEC_ASN1_OCTET_STRING,
	  offsetof(NSSCMSKEKIdentifier,other) },
    { 0 }
};
Assignee: wtchang → alexei.volkov.bugs
Adding Bob to ASN.1 encoder/decoder related bugs
QA Contact: jason.m.reid → libraries
Targeting to 3.12. Better to introduce binary incompatibility in new release, not in 3.11.x.
Priority: -- → P2
Target Milestone: --- → 3.12
Unsetting target milestone in unresolved bugs whose targets have passed.
Target Milestone: 3.12 → ---

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)
Severity: normal → S3

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.