tags 305634 + patch
--

The issue is that the arglist is overrun by one argument.  The patch
below (and at http://patches.ubuntu.com/patches/quintuple-agent.malloc.patch)
fixes the problem.

lamont
diff -ur quintuple-agent-1.0.4-5/agpg.c quintuple-agent-1.0.4/agpg.c
--- quintuple-agent-1.0.4-5/agpg.c      2002-09-28 01:16:01.000000000 -0600
+++ quintuple-agent-1.0.4/agpg.c        2005-05-09 19:04:56.000000000 -0600
@@ -175,7 +175,7 @@
     int i;
 
     close(p[1]);
-    args = malloc(sizeof(char *) * (argc + 2));
+    args = malloc(sizeof(char *) * (argc + 3));
     if (!args) {
       fprintf(stderr, _("out of memory\n"));
       return EXIT_FAILURE;


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to