Home GnuPG
Diffusion GpgOL 469a81471800

Add checks to avoid assigning NULL to std::string

Description

Add checks to avoid assigning NULL to std::string

* src/mail.cpp (Mail::update_oom_data): Safeguard against
NULL assignment to std::string.

Not sure if this really leads to a crash but it's undefined
so it should not be done.

Details

Provenance
aheineckeAuthored on Nov 27 2017, 1:53 PM
Parents
rOc96f484c79a5: Improve error handling for signed only
Branches
Unknown
Tags
Unknown
Tasks
T3540: GPGOL crashes on Windows 10 / Outlook 2016