Skip to content

Commit d3d6d25

Browse files
committed
Use XMEMCPY instead of memcpy
F-495
1 parent d8b3507 commit d3d6d25

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/wolfpkcs11.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ CK_RV C_GetInterfaceList(CK_INTERFACE_PTR pInterfacesList, CK_ULONG_PTR pulCount
448448
return CKR_BUFFER_TOO_SMALL;
449449
}
450450

451-
memcpy(pInterfacesList, interfaces, NUM_INTERFACES * sizeof(CK_INTERFACE));
451+
XMEMCPY(pInterfacesList, interfaces, NUM_INTERFACES * sizeof(CK_INTERFACE));
452452
*pulCount = NUM_INTERFACES;
453453

454454
return CKR_OK;

0 commit comments

Comments
 (0)