<<< Date Index >>>     <<< Thread Index >>>

Re: imap/2244: Copying mail message from local mailbox to remote imaps server hangs when message contains NUL chars



The following reply was made to PR imap/2244; it has been noted by GNATS.

From: TAKAHASHI Tamotsu <ttakah@xxxxxxxxxxxxxxxxx>
To: bug-any@xxxxxxxxxxxxx
Cc: 
Subject: Re: imap/2244: Copying mail message from local mailbox to remote imaps 
server hangs when message contains NUL chars
Date: Wed, 24 May 2006 15:47:59 +0900

 * Tue May 23 2006 Kyle Wheeler <kyle-mutt-dev@xxxxxxxxxxxxxx>
 
 > On Saturday, May 20 at 11:10 AM, quoth Takahashi Tamotsu:
 > >I set up an IMAP server (dovecot) and confirmed this bug.
 > >My patch is attached here: http://bugs.mutt.org/2244
 > >
 > >static void flush_buffer(char *buf, size_t *len, CONNECTION *conn)
 > >{
 > >  buf[*len] = '\0';
 > >-  mutt_socket_write(conn, buf);
 > >+  mutt_socket_write_n(conn, buf, *len);
 > >  *len = 0;
 > >}
 > 
 > My mutt (from CVS) doesn’t seem to have a mutt_socket_write_n 
 > function 
 > defined anywhere. Am I missing something?
 
 No. I attached the full patch to http://bugs.mutt.org/2244.
 Sorry for the confusing message I wrote.
 
 -- 
 tamo