Don't send strings we don't control as the format string\!
authorMicah Cowan <Micah Cowan micah@cowan.name>
Thu, 26 Mar 2009 21:52:29 +0000 (26 14:52 -0700)
committerMicah Cowan <Micah Cowan micah@cowan.name>
Thu, 26 Mar 2009 21:52:29 +0000 (26 14:52 -0700)
src/display.c

index c661330..651a281 100644 (file)
@@ -4367,7 +4367,7 @@ char **cmdv;
 #endif
       display = 0;
       execvpe(*cmdv, cmdv, NewEnv + 3);
-      Panic(errno, *cmdv);
+      Panic(errno, "%s", *cmdv);
     default:
       break;
     }