I'm using 0.3-beta6 (-r3 in gentoo) and when I do netdiscover -i eth0 -r 192.168.2.0 so without the / (and without a number behind the /) it seems to segfault. dmesg output: device eth0 entered promiscuous mode netdiscover[23628]: segfault at 0 ip 51acd04b sp 5029829c error 4 in libc-2.11.so[51a9e000+145000] grsec: Segmentation fault occurred at (nil) in /usr/sbin/netdiscover[netdiscover:23628] uid/euid:0/0 gid/egid:0/0, parent /bin/zsh[zsh:23597] uid/euid:0/0 gid/egid:0/0 device eth0 left promiscuous mode Reproducible: Always Steps to Reproduce: 1. Start netdiscover with -r <ip> instead of -r <ip>/<number> Actual Results: segfault Expected Results: Error message saying format of -r is incorrect.
Reported this upstream.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a92af860bf69aeab3ab56fca70d5769cc7331bf commit 4a92af860bf69aeab3ab56fca70d5769cc7331bf Author: Aaron Bauman <bman@gentoo.org> AuthorDate: 2020-11-26 22:31:15 +0000 Commit: Aaron Bauman <bman@gentoo.org> CommitDate: 2020-11-26 23:04:02 +0000 net-analyzer/netdiscover: drop old Closes: https://bugs.gentoo.org/346787 Signed-off-by: Aaron Bauman <bman@gentoo.org> net-analyzer/netdiscover/Manifest | 2 -- .../netdiscover/netdiscover-0.3_beta6-r3.ebuild | 35 --------------------- .../netdiscover/netdiscover-0.3_beta6-r4.ebuild | 36 ---------------------- 3 files changed, 73 deletions(-)