Wed Dec 26 13:09:27 2007jhe [...] proofpoint.com - Ticket created
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
Thu Dec 27 03:41:59 2007MARKOV [...] cpan.org - Correspondence added
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.
Thu Dec 27 03:42:02 2007The RT System itself - Status changed from 'new' to 'open'
Thu Dec 27 03:42:03 2007MARKOV [...] cpan.org - Status changed from 'open' to 'resolved'