Perhaps db_init_fetch could strip trailing NULLs from resulting rows to allow current users of 2.0 to retreive messages that were inserted with the parser bug
still in place.

Not a fix, of course. Just a (temporary, partial) workaround.


Ilja Booij wrote:
I've made a small change to dbmsgbuf.c (diff below). I don't think it'll
have any influence on these problems, however. It's another one of those
"initialise the buffer before you start working with it"-fixes.

Ilja


[EMAIL PROTECTED]:~/sandbox/dbmail$ cvs diff -r 1.7 dbmsgbuf.c
Index: dbmsgbuf.c
===================================================================
RCS file: /cvsroot-dbmail/dbmail/dbmsgbuf.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -r1.7 -r1.8
2c2
<   $Id: dbmsgbuf.c,v 1.7 2004/03/19 16:27:38 ilja Exp $
---

 $Id: dbmsgbuf.c,v 1.8 2004/04/14 09:04:55 ilja Exp $

68a69

     memset(msgbuf_buf, '\0', MSGBUF_WINDOWSIZE);




_______________________________________________
Dbmail-dev mailing list
Dbmail-dev@dbmail.org
http://twister.fastxs.net/mailman/listinfo/dbmail-dev


--
  ________________________________________________________________
  Paul Stevens                                         [EMAIL PROTECTED]
  NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
  The Netherlands_______________________________________www.nfg.nl

Reply via email to