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 / "'" / "(" / ")" /
"+" / "_" / "," / "-" / "." /
"/" / ":" / "=" / "?"
Patch in that Debian bug tracker is not complete, there is missing proper check on another place. I took that patch, fixed that problem, changed coding style to what is used in Email::MIME and created a pull request: #64
On Sun, 17 Nov 2019 08:46:30 -0800, pali wrote:
Patch in that Debian bug tracker is not complete, there is missing
proper check on another place. I took that patch, fixed that
problem, changed coding style to what is used in Email::MIME and
created a pull request: #64
We have the following bug reported to the Debian package of
Email-MIME, c.f. https://bugs.debian.org/944887
The bug report contains a patch.
It doesn't seem to be a bug in the packaging, so you may want to take
a look. Thanks!
------8<-----------8<-----------8<-----------8<-----------8<-----
------8<-----------8<-----------8<-----------8<-----------8<-----
Thanks for considering,
gregor herrmann,
Debian Perl Group
The text was updated successfully, but these errors were encountered: