diff options
author | Koni Marti <koni.marti@gmail.com> | 2022-04-28 21:51:54 +0200 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-04-29 13:41:35 +0200 |
commit | 8f976af17bdb049dab21bd4f7d24f352a54c9ba0 (patch) | |
tree | 465c00ea0039e6b44918b727d41fc8aa1e542035 /widgets/pgpinfo.go | |
parent | 2f2a520ab04ee00008b0929415e9062a8042e576 (diff) | |
download | aerc-8f976af17bdb049dab21bd4f7d24f352a54c9ba0.tar.gz |
imap: fix out-of-range panic for imap updates
Check slice bounds before using it for the message and expunge updates.
Log the error but ignore the affected updates.
Link: https://lists.sr.ht/~rjarry/aerc-devel/%3CCJEHBFFUI11T.1AYGOMVGZ87ZS%40rek2system%3E
Reported-by: ReK2 <rek2@hispagatos.org>
Signed-off-by: Koni Marti <koni.marti@gmail.com>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'widgets/pgpinfo.go')
0 files changed, 0 insertions, 0 deletions