Home GnuPG
Diffusion GpgOL 1d0660fa53d3

Fix possible race bug of a crash observed

Description

Fix possible race bug of a crash observed

* src/mail.cpp (Mail::close_all_mails): Check for valididy
of mail object before closing.

I observed a deleted mail beeing closed and then it crashed.
No idea how this could happen but this saveguard might help.

Details

Provenance
aheineckeAuthored on Nov 28 2017, 4:35 PM
Parents
rO093da39ab373: Handle ms-tnef classified PGP/Inline mails
Branches
Unknown
Tags
Unknown