Skip to content

Commit 5cbc1ba

Browse files
authored
Fixed buffer overflow
When USE_VENDER_BLAKE2B is defined
1 parent b76c339 commit 5cbc1ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

blake2b.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ void blake2b_nativeIn(void *out, size_t outSize, const uint64_t *in, size_t inSi
7070
*/
7171
void blake2b_nativeInOut(uint64_t out[8], const uint64_t *in, size_t inSize)
7272
{
73-
uint8_t hash[8];
73+
uint8_t hash[64];
7474

7575
// Hash
7676
blake2b_nativeIn(hash, 64, in, inSize);

0 commit comments

Comments
 (0)