Public bug reported:

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"
>
>--1534608337-1099188998-1812673661
>Content-Type: text/plain; charset=us-ascii
>Content-Disposition: inline; filename="os-release"
>Content-Transfer-Encoding: base64
>
>TkFNRT0iQWxwaW5lIExpbnV4IgpJRD1hbHBpbmUKVkVSU0lPTl9JRD0zLjEzLjAKUFJFVFRZX05B
>TUU9IkFscGluZSBMaW51eCB2My4xMyIKSE9NRV9VUkw9Imh0dHBzOi8vYWxwaW5lbGludXgub3Jn
>LyIKQlVHX1JFUE9SVF9VUkw9Imh0dHBzOi8vYnVncy5hbHBpbmVsaW51eC5vcmcvIgo=
>--1534608337-1099188998-1812673661--
>
>' | 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']

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


** Tags: amd64 apport-bug ec2-images focal

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1913687

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/maildrop/+bug/1913687/+subscriptions

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

Reply via email to