Home GnuPG
Diffusion GpgOL 3ba39a0f4429

Fix crash when adding attachment without fileext

Description

Fix crash when adding attachment without fileext

* src/mimemaker.cpp (infer_content_type): Check if a suffix
was found and check for the size of the suffix before using it.

The crash was introduced with 94c354a0

Details