summaryrefslogtreecommitdiff
path: root/security/zenmap/files/patch-ac
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1999-07-23 18:21:54 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1999-07-23 18:21:54 +0000
commit1cb395645160a443ddbb73c0cbddb1bd2e9e8fce (patch)
tree0b3db524be73312ea2d6bcfeee500f682a19427b /security/zenmap/files/patch-ac
parentOops, forgot to commit this. Typo. (diff)
Hard code the path to nmap w/in nmapfe. Thus it will work in the face of a
limited path. Bug reported by: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
Notes
Notes: svn path=/head/; revision=20329
Diffstat (limited to '')
-rw-r--r--security/zenmap/files/patch-ac21
1 files changed, 21 insertions, 0 deletions
diff --git a/security/zenmap/files/patch-ac b/security/zenmap/files/patch-ac
new file mode 100644
index 000000000000..df3c849ceb82
--- /dev/null
+++ b/security/zenmap/files/patch-ac
@@ -0,0 +1,21 @@
+--- nmapfe/nmapfe_sig.c.orig Fri May 7 04:51:52 1999
++++ nmapfe/nmapfe_sig.c Fri Jul 23 11:09:45 1999
+@@ -171,7 +171,7 @@
+ on_Get_Nmap_Version_activate (GtkMenuItem *menuitem,
+ gpointer user_data)
+ {
+- execute("nmap -V");
++ execute( NMAP_PATH "nmap -V");
+ }
+
+
+@@ -296,7 +296,8 @@
+ if (size > command_size)
+ command = realloc(command, size);
+
+- strcpy(command, "nmap ");
++ strcpy(command, NMAP_PATH);
++ strcat(command, "nmap ");
+ /*Uhm... yeah.. Spit out which scan to perform based
+ on the which_scan variable */
+