[Dbmail] Buglet in mime.c?

2002-10-15 Thread Philip Warner
It looks like: if (strncasecmp((*mr)->field, fname, strlen(fname)) == 0) in mime.c should be: if (strcasecmp((*mr)->field, fname) == 0) unless there is a reason for using strncasecmp... There are several other uses of strncasecmp throughout the code, so I am a little worried about my

[Dbmail] Memory leak patch for MySQL

2002-10-15 Thread Arto Teras
Hi, I sent the message below to [EMAIL PROTECTED] about one month ago but it seems that the patch didn't find it's way to the CVS and thus not in 1.0rc4 either. This fixed the memory leaks for me. The patch is for MySQL but it seems that there is a similar error in dbpgsql.c too. Maybe someone wit

RE: [Dbmail] Buglet in mime.c?

2002-10-15 Thread Jesse Norell
> The problem happens the parsing of these messages results in a bogus mime > header based on the first line. In the above case the header name would be: > > "From [EMAIL PROTECTED] Tue Oct 15 11" > > ie. everything, including spaces, up to the first colon (which is, AFAICT, > correct ac