Home GnuPG
Diffusion GpgOL c9775be37529

Fix race between deletion and parser access
c9775be37529Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Fix race between deletion and parser access

* src/mail.cpp (Mail::~Mail): Lock destruction.
(do_decrypt): Lock validity check and parser access.

This fixes a crash that could be triggered by wildly switching
between encrypted / signed mails.

Details

Provenance
aheineckeAuthored on Nov 28 2016, 2:58 PM
Parents
rOf098d08f7bb7: Use inline text as body if no body seen
Branches
Unknown
Tags
Unknown