Bug#944887: libemail-mime-perl: fails to handle boundary="0"
Eric Wong
e at 80x24.org
Sun Nov 17 09:14:27 GMT 2019
Package: libemail-mime-perl
Version: 1.946-1
Severity: normal
Tags: upstream patch
Email::MIME fails to handle mail with a boundary value of "0",
since Perl treats 0 as false. This is a common type of bug in
Perl code.
Reading RFC 2046, the BNF for allowed boundary characters
allows 1-70 characters, so a single "0" is acceptable:
boundary := 0*69<bchars> bcharsnospace
bchars := bcharsnospace / " "
bcharsnospace := DIGIT / ALPHA / "'" / "(" / ")" /
"+" / "_" / "," / "-" / "." /
"/" / ":" / "=" / "?"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Email-MIME-allow-0-as-boundary-value.patch
Type: text/x-diff
Size: 2433 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-perl-maintainers/attachments/20191117/9424da09/attachment.patch>
More information about the pkg-perl-maintainers
mailing list