diff options
author | Koni Marti <koni.marti@gmail.com> | 2024-05-04 22:04:53 +0200 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2024-05-09 22:13:17 +0200 |
commit | 8307776f893b1ee000dc83d8b8226f58403a389a (patch) | |
tree | 4c99792f40e8a0b8e6995fa3c784336b9f77717f /commands | |
parent | 1d96da5126e6cdeda50c31351153241c8c828112 (diff) | |
download | aerc-8307776f893b1ee000dc83d8b8226f58403a389a.tar.gz |
imap: fix panic in connect
Fix a nil pointer dereference panic in connect when trying to obtain the
folder delimiter. There is a List call to the imap server that in some
instances can return a nil *imap.MailboxInfo that is not checked before
it is dereferenced.
Link: https://lists.sr.ht/~rjarry/aerc-devel/%3CEDE672E5-3F6F-402D-B1A4-5477183FC13C@ukr.net%3E
Reported-by: Misha <ulianich_mihail@ukr.net>
Signed-off-by: Koni Marti <koni.marti@gmail.com>
Reviewed-by: Tim Culverhouse <tim@tim.culverhouse.com>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'commands')
0 files changed, 0 insertions, 0 deletions