Diffusion GpgOL 5b76bd71f39d

Delete Body MAPI Props after MIME creation

Authored by aheinecke on Aug 25 2017, 1:12 PM.

Description

Delete Body MAPI Props after MIME creation

* src/mimemaker.cpp (finalize_message): Delete Body Props.

Somehow this is now required. For outgoing mails over SMTP
the body is removed when the mime structure of our mime attachment
is used. But for exchange <> exchange or in the sent mail
folder this no longer happens. Causing a plain text leak.

We now explicitly delete the MAPI Body after our attachment
is created.

Details

Committed
aheineckeAug 25 2017, 1:12 PM
Parents
rO030907daeb75: Add more debug output during parsing
Branches
Unknown
Tags
Unknown
Tasks
T3369: GpgOL: Exchange mails can be stored unencrypted