Skip to content

Commit 6e43521

Browse files
committed
Fix msan errors
1 parent d2d9e2f commit 6e43521

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/internal.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8311,6 +8311,7 @@ static int GetEcbCheckValue(WP11_Object* secret, byte* dataOut,
83118311
}
83128312

83138313
XFREE(hash, NULL, DYNAMIC_TYPE_TMP_BUFFER);
8314+
XFREE(input, NULL, DYNAMIC_TYPE_TMP_BUFFER);
83148315

83158316
return CKR_OK;
83168317
}

tests/pkcs11test.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10816,6 +10816,7 @@ static CK_RV test_aes_ccm_encdec(CK_SESSION_HANDLE session,
1081610816
encSz = sizeof(enc);
1081710817
decSz = sizeof(dec);
1081810818

10819+
ccmParams.ulDataLen = 0;
1081910820
ccmParams.pIv = iv;
1082010821
ccmParams.ulIvLen = sizeof(iv);
1082110822
ccmParams.pAAD = aad;

0 commit comments

Comments
 (0)