Home GnuPG
Diffusion GpgOL 60eb684fa677

Fix potential crash in do autosecure

Description

Fix potential crash in do autosecure

* src/mail.cpp (Mail::setDoAutosecure_m): Return if msg
is not found.

This happens for example if we programatically created a
mail and then set the "to"

Details

Provenance
aheineckeAuthored on Jun 26 2018, 11:03 AM
Parents
rO1b9eb2a608ea: Fix passing std::string to asprintf
Branches
Unknown
Tags
Unknown