[Imap-uw] Bug Report for C-Client

Mark Crispin MRC at CAC.Washington.EDU
Mon Mar 26 14:22:12 PDT 2007


On Mon, 26 Mar 2007, Dan Martens wrote:
> I am getting the following core dump from Apache/PHP using the C-Client library.
> Is the corrected by raising the SENDBUFLEN define to something larger than 16K ?

Increasing the SENDBUFLEN to a sufficient size will make the "rfc822.c 
legacy routine buffer overflow" fatal error go away.  However, a better 
thing to do is to fix PHP to use c-client's new rfc822 header routines 
which do not require a fixed buffer (they flush the current buffer as 
needed) rather than the legacy interface.

-- Mark --

http://staff.washington.edu/mrc
Science does not emerge from voting, party politics, or public debate.
Si vis pacem, para bellum.


More information about the Imap-uw mailing list