/usr/bin/mail.mailutils segmentation fault when deleting invalid message range ending in 0

Bug #1468450 reported by J G Miller
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mailutils (Ubuntu)
New
Undecided
Unassigned

Bug Description

PRETTY_NAME="Ubuntu 14.04.2 LTS"
SUPPORT_URL="http://help.ubuntu.com/"
VERSION="14.04.2 LTS, Trusty Tahr"

Package: mailutils
Priority: optional
Section: universe/mail
Installed-Size: 1484
Origin: Ubuntu
Maintainer: Ubuntu Developers <email address hidden>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Architecture: i386
Version: 1:2.99.98-1.1
Provides: mail-reader, mailx

ll /usr/bin/mail
0 lrwxrwxrwx 1 root root 22 2013-12-22 03:35 /usr/bin/mail -> /etc/alternatives/mail*

ll /etc/alternatives/mail
0 lrwxrwxrwx 1 root root 23 2010-05-19 08:56 /etc/alternatives/mail -> /usr/bin/mail.mailutils*

mail
"/var/mail/postmaster": 10 messages 10 new

If an invalid backwards message range ending in non-zero is specified then an error message is displayed and there is no problem.

mail> d 9-1
d: range error near end

If an invalid backwards message range ending in zero is specified, then mail.mailutils crashes with a segmentation fault which is a serious problem.

Mail> d 9-0
Segmentation fault

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.