Ticket #2904 (new defect)

Opened 18 months ago

recursive pgp_check_traditional() will crash on complicated multipart messages

Reported by: taviso Owned by: mutt-dev
Priority: minor Milestone:
Component: mutt Version:
Keywords: Cc:

Description

pgp_check_traditional() is implemented recursively, so deeply nested multipart messages will cause a stack overflow, which can be annoying on systems with limited stack space.

Reproduce:

$ bash mime.sh > crash $ mutt -F /dev/null -f crash -e 'set pgp_auto_decode' Segmentation fault

Attachments

crash.gz (25.8 kB) - added by taviso 18 months ago.
demonstration mbox
mime.sh (346 bytes) - added by taviso 18 months ago.
script used to generate mbox

Change History

Changed 18 months ago by taviso

demonstration mbox

Changed 18 months ago by taviso

script used to generate mbox

Note: See TracTickets for help on using tickets.