reformime crashes with segfault when (possibly) given incorrect CLI arguments

Bug #1913687 reported by Howard Houzuo Guo
This bug affects 1 person
Affects Status Importance Assigned to Milestone
maildrop (Ubuntu)

Bug Description

I’m trying to use reformime to recover a plain text portion of a multipart message consisting of just one boundary. I am not at all familiar with the usage of reformime, so I discovered this segfault when doing an experiment:

(in a bash prompt)

echo 'Mime-Version: 1.0
>Content-Type: multipart/mixed; boundary="1534608337-1099188998-1812673661"
>Content-Type: text/plain; charset=us-ascii
>Content-Disposition: inline; filename="os-release"
>Content-Transfer-Encoding: base64
>' | reformime -x 1

Regardless of whether the CLI arguments used with reformime are correct, it really shouldn’t make a segfault.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: maildrop 2.9.3-2build2
ProcVersionSignature: Ubuntu 5.4.0-1035.37-aws 5.4.78
Uname: Linux 5.4.0-1035-aws x86_64
ApportVersion: 2.20.11-0ubuntu27.14
Architecture: amd64
CasperMD5CheckResult: skip
Date: Fri Jan 29 07:13:47 2021
Ec2AMI: ami-0faf140cd5302841b
Ec2AMIManifest: (unknown)
Ec2AvailabilityZone: eu-north-1c
Ec2InstanceType: t3.micro
Ec2Kernel: unavailable
Ec2Ramdisk: unavailable
SourcePackage: maildrop
UpgradeStatus: No upgrade log present (probably fresh install)
modified.conffile..etc.init.d.apport: [inaccessible: [Errno 13] Permission denied: '/etc/init.d/apport']

Revision history for this message
Howard Houzuo Guo (guohouzuo) wrote :
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.