From a82fb9e7d6735548b79e17df5042371c71296bdb Mon Sep 17 00:00:00 2001 From: Eduardo Chappa Date: Thu, 2 Dec 2021 20:26:43 -0700 Subject: * Crash when saving multiple messages to a folder in the unix format. Reported by Hisashi T Fujinaka. --- imap/src/osdep/unix/unix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'imap/src') diff --git a/imap/src/osdep/unix/unix.c b/imap/src/osdep/unix/unix.c index 955090d9..4bbaa01a 100644 --- a/imap/src/osdep/unix/unix.c +++ b/imap/src/osdep/unix/unix.c @@ -1113,7 +1113,7 @@ long unix_append (MAILSTREAM *stream,char *mailbox,append_t af,void *data) MM_CRITICAL (stream); /* go critical */ /* try to open readwrite for UIDPLUS */ - if (au && (tstream = mail_open_work (&unixdriver,NIL,mailbox, + if ((tstream = mail_open_work (&unixdriver,NIL,mailbox, OP_SILENT|OP_NOKOD)) && tstream->rdonly) tstream = mail_close (tstream); if (au && !tstream) { /* wanted an APPENDUID? */ -- cgit v1.2.3-54-g00ecf