From: Steve Holme Date: Sat, 9 Jun 2012 10:08:08 +0000 (+0100) Subject: pop3.c: Fixed length of SASL check X-Git-Tag: curl-7_27_0~245 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6478e1d7e5cf9a03a24f1d34eb92d4a4aad01f24;p=thirdparty%2Fcurl.git pop3.c: Fixed length of SASL check --- diff --git a/lib/pop3.c b/lib/pop3.c index 02d6e7aeb3..a166208dbc 100644 --- a/lib/pop3.c +++ b/lib/pop3.c @@ -240,7 +240,7 @@ static int pop3_endofresp(struct pingpong *pp, int *resp) } /* We are only interested in the SASL line */ - if(len < 4 || memcmp(line, "SASL", 3)) { + if(len < 4 || memcmp(line, "SASL", 4)) { return FALSE; }