Nico Erfurth wrote:

> I've just checked my own logfiles, but the error never occured here, but 
> I'll have a look.

Ok, I think I got it. The unspooling section of spool_mbox.c does not 
close the file before it checks for the filesize, so some data might 
still be in the glibc data buffers.

I think this patch should fix it.

Nico

--- spool_mbox.c.buggy  2006-09-21 17:55:42.000000000 +0200
+++ spool_mbox.c        2006-09-21 17:56:15.000000000 +0200
@@ -139,6 +139,7 @@
          };
        };
      } while (j > 0);
+    (void)fclose(mbox_file);

      Ustrcpy(spooled_message_id, message_id);
      spool_mbox_ok = 1;

-- 
## List details at http://www.exim.org/mailman/listinfo/exim-dev Exim details 
at http://www.exim.org/ ##

Reply via email to