texecvp() is a bit dodgy from a setgid executable (even though we should have dropped privileges by this point). Replaced with execv() instead. - vaccinewars - be a doctor and try to vaccinate the world (HTM) git clone git://src.adamsgaard.dk/vaccinewars (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- (DIR) commit d7ad3c0ccecb61c42151ca90db9102ef8076df0d (DIR) parent e7c8451a83660ef5f209f7c457b96092eff5c629 (HTM) Author: Ben Webb <ben@salilab.org> Date: Fri, 15 Feb 2002 17:37:18 +0000 execvp() is a bit dodgy from a setgid executable (even though we should have dropped privileges by this point). Replaced with execv() instead. Diffstat: M src/gtkport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- (DIR) diff --git a/src/gtkport.c b/src/gtkport.c t@@ -4896,7 +4896,7 @@ static gboolean gtk_url_triggered(GtkWidget *widget, GdkEventButton *event, args[2] = NULL; pid = fork(); if (pid == 0) { - execvp(bin, args); + execv(bin, args); g_print("dopewars: cannot execute %s\n", bin); _exit(1); }