The reported behaviour is caused by an array not completely initialized
by realloc_jobs_list. The following patch fixes the bug:

--- jobs.c.orig 2006-02-03 22:27:07.000000000 +0100
+++ jobs.c      2006-02-03 22:27:58.000000000 +0100
@@ -858,6 +858,9 @@
   for (i = j = 0; i < js.j_jobslots; i++)
     if (jobs[i])
       nlist[j++] = jobs[i];
+  
+  for (; j<nsize; j++)
+    nlist[j] = 0;
 
   js.j_firstj = 0;
   js.j_lastj = (j > 0) ? j - 1: 0;


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

Reply via email to