You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
net_imap: Fix crash in unsolicited STATUS with remote mailbox selected.
With NOTIFY enabled, if a new message arrived to a local mailbox while
a remote mailbox is selected, when generating the untagged STATUS,
a NULL dereference would occur since adding APPENDLIMIT involves
a call to mailbox_quota, but imap->mbox would be NULL since no local
mailbox is selected.
Since the APPENDLIMIT isn't expected to change frequently anyways,
simply omit APPENDLIMIT from the STATUS message in these cases.
LBBS-151 #close
0 commit comments