Bug #550203: Coverity: uninitialized reference.
State SECItem needs to be initialized with the input parameters. Fixed by timeless. r=rrelyea git-svn-id: svn://10.0.0.236/trunk@260118 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
70afc83cfa
commit
4b512cbcfa
@ -35,7 +35,7 @@
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
#ifdef DEBUG
|
||||
static const char CVS_ID[] = "@(#) $RCSfile: wrap.c,v $ $Revision: 1.18 $ $Date: 2009-02-09 07:55:53 $";
|
||||
static const char CVS_ID[] = "@(#) $RCSfile: wrap.c,v $ $Revision: 1.19 $ $Date: 2010-03-31 16:45:22 $";
|
||||
#endif /* DEBUG */
|
||||
|
||||
/*
|
||||
@ -1777,6 +1777,9 @@ NSSCKFWC_SetOperationState
|
||||
}
|
||||
}
|
||||
|
||||
state.data = pOperationState;
|
||||
state.size = ulOperationStateLen;
|
||||
|
||||
error = nssCKFWSession_SetOperationState(fwSession, &state, eKey, aKey);
|
||||
if( CKR_OK != error ) {
|
||||
goto loser;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user