From aff769597eb088099db53d32969af3fbf0f87801 Mon Sep 17 00:00:00 2001 From: Abhimanyu Date: Tue, 1 Feb 2022 00:00:41 +0530 Subject: [PATCH] SVACE issue fix Change-Id: Id89abae4c19469040e1f4e542c99b9cd5bc6d535 Signed-off-by: Abhimanyu --- imap-2007e/c-client/imap4r1.c | 1 + 1 file changed, 1 insertion(+) diff --git a/imap-2007e/c-client/imap4r1.c b/imap-2007e/c-client/imap4r1.c index 18b0cf3..609936e 100755 --- a/imap-2007e/c-client/imap4r1.c +++ b/imap-2007e/c-client/imap4r1.c @@ -4171,6 +4171,7 @@ void imap_parse_unsolicited (MAILSTREAM *stream,IMAPPARSEDREPLY *reply) /* parse Lisp-form property list */ while (prop = (strtok_r (t," )",&r))) { t = strtok_r (NIL,"\n",&r); + if (t == NULL) mm_log(r,ERROR); INIT_GETS (md,stream,elt->msgno,NIL,0,0); e = NIL; /* not pointing at any envelope yet */ /* canonicalize property, parse it */ -- 2.7.4