fix problem with uninitialized pointer; this patch resolves opensc ticket #61
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2698 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
bb63ca1829
commit
346486ee70
|
@ -611,7 +611,7 @@ static CK_RV pkcs15_create_tokens(struct sc_pkcs11_card *p11card)
|
||||||
{
|
{
|
||||||
struct pkcs15_fw_data *fw_data = (struct pkcs15_fw_data *) p11card->fw_data;
|
struct pkcs15_fw_data *fw_data = (struct pkcs15_fw_data *) p11card->fw_data;
|
||||||
struct sc_pkcs15_object *auths[MAX_OBJECTS];
|
struct sc_pkcs15_object *auths[MAX_OBJECTS];
|
||||||
struct sc_pkcs11_slot *slot;
|
struct sc_pkcs11_slot *slot = NULL;
|
||||||
int i, rv, reader = p11card->reader;
|
int i, rv, reader = p11card->reader;
|
||||||
int auth_count;
|
int auth_count;
|
||||||
unsigned int j;
|
unsigned int j;
|
||||||
|
|
Loading…
Reference in New Issue