From 6478e1d7e5cf9a03a24f1d34eb92d4a4aad01f24 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Sat, 9 Jun 2012 11:08:08 +0100 Subject: [PATCH] pop3.c: Fixed length of SASL check --- lib/pop3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }