mirror of
https://github.com/hashcat/hashcat.git
synced 2024-12-23 07:08:19 +00:00
Test failed to workaround coverity false-positive
This commit is contained in:
parent
b682091155
commit
958ca90132
@ -78,8 +78,7 @@ static int mangle_reverse (char arr[BLOCK_SIZE], int arr_len)
|
||||
|
||||
static int mangle_double (char arr[BLOCK_SIZE], int arr_len)
|
||||
{
|
||||
//if ((arr_len * 2) >= BLOCK_SIZE) return (arr_len);
|
||||
if (arr_len >= (BLOCK_SIZE / 2)) return (arr_len);
|
||||
if ((arr_len * 2) >= BLOCK_SIZE) return (arr_len);
|
||||
|
||||
memcpy (&arr[arr_len], arr, (size_t) arr_len);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user