Update elite_crack.c

This commit is contained in:
Antiklesys committed 2026-04-03 11:43:11 +08:00
1 parent f9474feec0
commit 10bd253eab
1 file changed
+1 -1
+1 -1
View File
@@ -382,7 +382,7 @@ static void *bf_thread(void *thread_arg) {
pthread_exit(NULL); pthread_exit(NULL);
} }
for (uint8_t i = 0 ; i < numbytes_to_recover; i++) { for (uint8_t i = 0 ; i < numbytes_to_recover && i < sizeof(r->values); i++) {
r->values[i] = (brute >> (i * 8)) & 0xFF; r->values[i] = (brute >> (i * 8)) & 0xFF;
} }
__atomic_store_n(&loclass_found, targ->thread_idx, __ATOMIC_SEQ_CST); __atomic_store_n(&loclass_found, targ->thread_idx, __ATOMIC_SEQ_CST);