Skip Menu |

This queue is for tickets about the Mail-Box CPAN distribution.

Report information
The Basics
Id: 31912
Status: resolved
Priority: 0/
Queue: Mail-Box

People
Owner: Nobody in particular
Requestors: jhe [...] proofpoint.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Infinite loop caused by square brackets in header
Date: Wed, 26 Dec 2007 10:10:23 -0800
To: bug-Mail-Box [...] rt.cpan.org
From: Jason He <jhe [...] proofpoint.com>
It's similar to a recently fixed bug 31017: now Mail::Message::Field::Structured::parse() function can get into an infinite loop when parsing headers like these: Content-Type: application/octet-stream; name=xxxxxx[1].pif Content-Disposition: attachment; filename=xxxxxx[1].pif Thanks for looking into this issue. -Jason
Thanks. I have implemented two fixes: 1) when the character cannot be consumed by any rule, it will get forcefully removed... never an endless loop 2) [ and ] and now accepted as illegally unquoted characters, and I expect more to turn-up in the future.