diff options
author | Oliver Braun <obraun@FreeBSD.org> | 2002-08-30 19:43:35 +0000 |
---|---|---|
committer | Oliver Braun <obraun@FreeBSD.org> | 2002-08-30 19:43:35 +0000 |
commit | 32e5020cb987e3f39c573a5053ae5116d5b79591 (patch) | |
tree | 42234a9268867d9f2c29155431d4b832d13e6a50 /security/nessus-plugins/files/patch-nmap_wrapper.c | |
parent | Add new Japanese Netscape 4.8 Communicator|Navigator . (diff) |
* Upgrade to 1.2.5
* Fix a problem with hanging clients during a nmap scan
PR: ports/42057
Submitted by: maintainer
Approved by: dwcjr (mentor)
Diffstat (limited to 'security/nessus-plugins/files/patch-nmap_wrapper.c')
-rw-r--r-- | security/nessus-plugins/files/patch-nmap_wrapper.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/security/nessus-plugins/files/patch-nmap_wrapper.c b/security/nessus-plugins/files/patch-nmap_wrapper.c new file mode 100644 index 000000000000..d7e4fc15bb91 --- /dev/null +++ b/security/nessus-plugins/files/patch-nmap_wrapper.c @@ -0,0 +1,19 @@ +--- plugins/nmap_wrapper/nmap_wrapper.c.orig Wed Aug 7 16:59:06 2002 ++++ plugins/nmap_wrapper/nmap_wrapper.c Fri Aug 16 16:13:48 2002 +@@ -612,14 +612,12 @@ + Hostinfos = hostinfos; + + #ifdef FAKE_PROGRESS_BAR ++ signal(SIGALRM, SIG_IGN); ++ alarm(0); + signal(SIGALRM, update_progress_bar); + alarm(1); + #endif + fp = ptycall_nmap (desc, NMAP, argv, &nmap_pid); +-#ifdef FAKE_PROGRESS_BAR +- signal(SIGALRM, SIG_IGN); +- alarm(0); +-#endif + destroy_argv (argv); + } + |