Patch libc-client-fix for IMAP related Bug #73186
Patch version 2019-02-05 12:39 UTC
Return to Bug #73186 |
Download this patch
Patch Revisions:
Developer: rino-s2@outlook.it
--- src/c-client/imap4r1.c.ORIG 2018-12-22 13:24:15.899707119 +0100
+++ src/c-client/imap4r1.c 2018-12-22 13:24:18.551731625 +0100
@@ -4092,7 +4092,7 @@
unsigned char *txt = reply->text;
if ((t = imap_parse_astring (stream,&txt,reply,&j)) && txt &&
(*txt++ == ' ') && (*txt++ == '(') && (s = strchr (txt,')')) &&
- (s - txt) && !s[1]) {
+ (s - txt) && (!s[1] || s[1] == ' ')) {
*s = '\0'; /* tie off status data */
/* initialize data block */
status.flags = status.messages = status.recent = status.unseen =
|