Public bug reported:

in addition to upgrading to upstream 1.0.4, as requested in
 #227677 segfault after starttls, fixed upstream
there is an additional segfault
in print_sender, dereferencing the "header->value", which never was assigned.

affects all ubuntu and debian shipping libesmtp.

the fix is straight forward, patch against libesmtp 1.0.4
--- headers.c.orig      2008-05-07 12:33:23.485256941 +0200
+++ headers.c   2008-05-05 03:32:30.574634072 +0200
@@ -334,7 +334,7 @@
   mbox->mailbox = strdup (mailbox);
   mbox->next = NULL;

-  mbox->next = header->value;
+  header->value = mbox;
   return 1;
 }

** Affects: esmtp (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: libesmtp (Ubuntu)
     Importance: Undecided
         Status: New

** Also affects: esmtp (Ubuntu)
   Importance: Undecided
       Status: New

-- 
segfault when using set_sender (force_sender in .esmtprc)
https://bugs.launchpad.net/bugs/227680
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to