Garbage written at end

Bug #615275 reported by Alexandre Vaissiere
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ssmtp (Debian)
Fix Released
Unknown
ssmtp (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: ssmtp

In some circumstances, for example when a process pauses during ouputting data, without sending a newline, ssmtp writes garbage in emails, corresponding to an uninitialized part of a buffer. Happens every day on my machines where cronjobs output lot of data.

Bug is explained here, with a perl script that reproduces the problem.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=508759

Bug was reproduced on karmic:
$ lsb_release -rd
Description: Ubuntu 9.10
Release: 9.10
$ apt-cache policy ssmtp
ssmtp:
  Installed: 2.63-1
  Candidate: 2.63-1
  Version table:
 *** 2.63-1 0
        500 http://archive.ubuntu.com karmic/universe Packages
        100 /var/lib/dpkg/status

and lucid
$ lsb_release -rd
Description: Ubuntu 10.04.1 LTS
Release: 10.04
$ apt-cache policy ssmtp
ssmtp:
  Installed: 2.64-4fakesync1
  Candidate: 2.64-4fakesync1
  Version table:
 *** 2.64-4fakesync1 0
        500 ftp://192.168.0.140/ubuntu/mirror/archive.ubuntu.com/ubuntu/ lucid/universe Packages
        100 /var/lib/dpkg/status

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ssmtp (Ubuntu):
status: New → Confirmed
Changed in ssmtp (Debian):
status: Unknown → New
Changed in ssmtp (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.