reformime crashes with segfault when (possibly) given incorrect CLI arguments
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
maildrop (Ubuntu) |
New
|
Undecided
|
Unassigned |
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-
>Content-Type: text/plain; charset=us-ascii
>Content-
>Content-
>
>TkFNRT0iQWxwaW
>TUU9IkFscGluZS
>LyIKQlVHX1JFUE
>--1534608337-
>
>' | 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
ProcVersionSign
Uname: Linux 5.4.0-1035-aws x86_64
ApportVersion: 2.20.11-
Architecture: amd64
CasperMD5CheckR
Date: Fri Jan 29 07:13:47 2021
Ec2AMI: ami-0faf140cd53
Ec2AMIManifest: (unknown)
Ec2Availability
Ec2InstanceType: t3.micro
Ec2Kernel: unavailable
Ec2Ramdisk: unavailable
SourcePackage: maildrop
UpgradeStatus: No upgrade log present (probably fresh install)
modified.