Ticket #3079 (closed defect: fixed)

Opened 6 months ago

Last modified 5 months ago

segv in srlen entering passwd smtp_url

Reported by: nifty.mitch Owned by: mutt-dev
Priority: major Milestone:
Component: mutt Version: 1.5.17
Keywords: Cc:

Description

When attempting to setup outgoing mail Password for joeuser@…: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1208169824 (LWP 3872)] 0x080cd548 in strlen () Missing separate debuginfos, use: debuginfo-install mutt.i386 (gdb) bt #0 0x080cd548 in strlen () #1 0x080a7c6b in strlen () #2 0x08064717 in strlen () #3 0x08080945 in strlen () #4 0x00a8a390 in libc_start_main () from /lib/libc.so.6 #5 0x0804c3b1 in strlen () (gdb)

My mutrc has something like...

set smtp_url=smtp://joe.user@smtp.gmail.com/:587"

Version is: mutt-1.5.17-2.fc8

Change History

Changed 6 months ago by nifty.mitch

The error cause was a configuration error where an ill configuration produced and empty From: line. If the From: line was edited to be correct or the from line stuff in .muttrc was corrected the SIGSEGV issue was solved. The timing of the error when entering the pass word is a distraction.

To reproduce this: With the From: correctly configured and edit headers enabled just clobber the contents of the From: line after the ":" and send. In an ideal world the empty From: line should generate an informative error. In the real world this is operator error so close or adjust the priority as ya see fit.

Changed 5 months ago by brendan

  • status changed from new to closed
  • resolution set to fixed

(In [a2e8f6fab8d3]) Test that envelope from or from is set before attempting SMTP delivery. Closes #3079.

Note: See TracTickets for help on using tickets.