Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:coldboot
yubico-piv-tool
yubico-piv-tool-2.3.0-uninitialized-variables.p...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File yubico-piv-tool-2.3.0-uninitialized-variables.patch of Package yubico-piv-tool
From c4227d0ddf3892d2c45b9ab52b646832c48625ac Mon Sep 17 00:00:00 2001 From: Veronika Hanulikova <vhanulik@redhat.com> Date: Wed, 2 Mar 2022 10:21:39 +0100 Subject: [PATCH] Set uninitialized variables --- ykcs11/tests/ykcs11_tests_util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ykcs11/tests/ykcs11_tests_util.c b/ykcs11/tests/ykcs11_tests_util.c index 77270bd3..e63091e9 100644 --- a/ykcs11/tests/ykcs11_tests_util.c +++ b/ykcs11/tests/ykcs11_tests_util.c @@ -281,7 +281,7 @@ void test_digest_func(CK_FUNCTION_LIST_PTR funcs, CK_SESSION_HANDLE session, CK_ CK_BYTE digest_update[128] = {0}; CK_ULONG digest_update_len; CK_BYTE hdata[128] = {0}; - CK_ULONG hdata_len; + CK_ULONG hdata_len = 0; CK_MECHANISM mech = {mech_type, NULL, 0}; @@ -1015,7 +1015,7 @@ void test_rsa_sign_thorough(CK_FUNCTION_LIST_PTR funcs, CK_SESSION_HANDLE sessio EVP_PKEY_CTX *ctx = NULL; CK_BYTE hdata[512] = {0}; - CK_ULONG hdata_len; + CK_ULONG hdata_len = 0; CK_OBJECT_HANDLE obj_pubkey; CK_MECHANISM mech = {mech_type, NULL, 0};
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor