aczid / crypto1_bs

Bitsliced Crypto-1 brute-forcer
205 stars 78 forks source link

pthread count in patch file #3

Closed iceman1001 closed 8 years ago

iceman1001 commented 8 years ago

I'm kind of guessning this part in the patch file will make a out-of-bounds error, if the thread_count is bigger than the default value 4.

    pthread_t threads[thread_count];
    thread_count = sysconf(_SC_NPROCESSORS_CONF);
aczid commented 8 years ago

Yep, thanks for spotting this one. Fixed in my repo.