drk1wi/portspoof

Floating point exception (core dumped)

PherricOxide opened this issue · 1 comments

Running with arguments,

-v -f extra_files/fuzz_nmap_signatures -1

And then doing an nmap scan of port 4444 with -sV turned on results in,

Program received signal SIGFPE, Arithmetic exception.

0x0000000000405e2a in Fuzzer::GetFUZZ (this=0x64d290) at Fuzzer.cpp:162
162         if(this->counter%this->nmapfuzzsignatures.size()==0)

(gdb) backtrace 
#0  0x0000000000405e2a in Fuzzer::GetFUZZ (this=0x64d290) at Fuzzer.cpp:162
#1  0x00000000004036f0 in Configuration::mapPort2Signature (this=<optimized out>, port=port@entry=4444) at Configuration.cpp:251
#2  0x000000000040556d in process_connection (arg=0x64d010) at connection.cpp:206
#3  0x00007ffff76abf8e in start_thread (arg=0x7ffff6fd6700) at pthread_create.c:311
#4  0x00007ffff73d5e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Platform: 64 bit Linux (Ubuntu 13.04).

Thank you, this one was fixed with the latest commit : 35a1f3a