Re: Balsa 1.1.7 having trouble w/ mbox parsing?



On 2001.07.16 16:39:33 +0100 Brian Stafford wrote:

> A solution that would be better suited to in-core parsing would be to
> maintain
> a stack of MIME boundary strings and check that every time a MIME boundary
> is detected.  As the code works its way up the stack, terminate the parts
> that haven't matched.  Just to be complicated, if none of the stacked
> boundaries match the string that looked like a MIME boundary, then it was
> not actually a boundary after all and the correct action is to continue to
> collect data for the current part.  Needless to say, this is tricky to code.
> 

and might i add, it's rather prone *remote exploits* by malicious malformated
mime messages

-- 
Carlos Morgado - chbm(at)chbm(dot)nu - http://chbm.nu/ -- gpgkey: 0x1FC57F0A
http://wwwkeys.pgp.net/ FP:0A27 35D3 C448 3641 0573 6876 2A37 4BB2 1FC5 7F0A
Software is like sex; it's better when it's free. - Linus Torvalds




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]