Menu

#4 Segmentation fault

open
nobody
multiscan (2)
5
2004-09-17
2004-09-17
Steve Clark
No

Its a useful little program for testing for open ports,
but when I forget to put the '-t' in before the
hostname, it gets a segment fault instead of printing a
useful error. Don't know if this is still being
maintained, but here's a fix that goes in multiscan.c

40c40
< char *target;
---
> char *target = NULL;
85a86,90
>
> if (!target) {
> printf ("ERROR: missing required option: -t
<target>\n");
> exit (2);
> }

Discussion


Log in to post a comment.

Monday.com Logo