cURL / Mailing Lists / curl-library / Single Mail


Re: SMTP, data corruption and dot stuffing

From: Daniel Stenberg <>
Date: Thu, 20 Oct 2011 00:18:55 +0200 (CEST)

On Wed, 19 Oct 2011, Daniel Stenberg wrote:

> The bug is due to Curl_smtp_escape_eob() being too stupid. I'm working on
> it.

I believe I made it work properly with the attached patch. I remade the entire
escaping logic in Curl_smtp_escape_eob() since turned out it was just broken
when the end-of-body string occurred over buffer boundaries.

The SMTP test cases also run through OK with this patch for me.



List admin:

Received on 2011-10-20