зеркало из https://github.com/mozilla/pjs.git
Fix bug 307293: make sure we initialize the mType and mTag members of nsNSSASN1Object. r=wtchang, sr=rrelyea.
This commit is contained in:
Родитель
fc89bd8e0f
Коммит
3d76d4e597
|
@ -241,7 +241,9 @@ CreateFromDER(unsigned char *data,
|
|||
return rv;
|
||||
}
|
||||
|
||||
nsNSSASN1Sequence::nsNSSASN1Sequence() : mIsValidContainer(PR_TRUE),
|
||||
nsNSSASN1Sequence::nsNSSASN1Sequence() : mType(0),
|
||||
mTag(0),
|
||||
mIsValidContainer(PR_TRUE),
|
||||
mIsExpanded(PR_TRUE)
|
||||
{
|
||||
/* member initializers and constructor code */
|
||||
|
@ -358,7 +360,9 @@ nsNSSASN1Sequence::SetIsExpanded(PRBool aIsExpanded)
|
|||
}
|
||||
|
||||
|
||||
nsNSSASN1PrintableItem::nsNSSASN1PrintableItem() : mData(nsnull),
|
||||
nsNSSASN1PrintableItem::nsNSSASN1PrintableItem() : mType(0),
|
||||
mTag(0),
|
||||
mData(nsnull),
|
||||
mLen(0)
|
||||
{
|
||||
/* member initializers and constructor code */
|
||||
|
|
Загрузка…
Ссылка в новой задаче