FS#68606 - [nmap] ncat crash when using Unix socket
Attached to Project:
Arch Linux
Opened by Olivier Le Moal (olivierlm) - Friday, 13 November 2020, 08:42 GMT
Last edited by Andreas Radke (AndyRTR) - Wednesday, 21 April 2021, 11:33 GMT
Opened by Olivier Le Moal (olivierlm) - Friday, 13 November 2020, 08:42 GMT
Last edited by Andreas Radke (AndyRTR) - Wednesday, 21 April 2021, 11:33 GMT
|
Details
Description:
ncat segfault when using Unix sockets since nmap 7.91.1 Additional info: gdb --args ncat --send-only -U "$XDG_RUNTIME_DIR/i3/event-listener.sock" Reading symbols from ncat... (No debugging symbols found in ncat) (gdb) r Starting program: /usr/bin/ncat --send-only -U /run/user/1000/i3/event-listener.sock [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". Program received signal SIGSEGV, Segmentation fault. 0x00007ffff7b32a85 in __strlen_avx2 () from /usr/lib/libc.so.6 (gdb) bt #0 0x00007ffff7b32a85 in __strlen_avx2 () from /usr/lib/libc.so.6 #1 0x00007ffff7a5fb43 in strdup () from /usr/lib/libc.so.6 #2 0x000055555556efe7 in ?? () #3 0x000055555555b5eb in ?? () #4 0x000055555555db28 in ?? () #5 0x0000555555559bcb in ?? () #6 0x00007ffff79f8152 in __libc_start_main () from /usr/lib/libc.so.6 #7 0x000055555555ab2e in ?? () Steps to reproduce: Use ncat using -U flag (Unix socket) |
This task depends upon
Comment by
Olivier Le Moal (olivierlm) -
Friday, 13 November 2020, 08:46 GMT
Sorry, bug is already reported upstream
(https://github.com/nmap/nmap/issues/2154) ...