Menu

#59 DecodeQuoted failes to parse complete message

open
nobody
5
2013-01-13
2003-02-04
No

TIpMimeEntity.DecodeQuoted failes under some
circumstances when it goes to output the data to the
stream when the InBuf[I] = 61 and there is nothing in the
O variable. This causes a drop out of the loop and does
not continue parsing the data.

Replace the following if section in the
TipMimeEntity.DecodeQuoted:

61 : begin
WS := $FF;
// if (I+2 >= Count) then Break;

with

61 : begin
WS := $FF;
if (I+2 >= Count) and (O > 0) then Break;

This resolves the problem.

Discussion

  • Markus Kämmerer

    Logged In: YES
    user_id=20860

    do you have a test message? please add the file to this bug

     
  • Matt Nielsen

    Matt Nielsen - 2003-02-25

    Logged In: YES
    user_id=700748

    I'll need to try and locate the sample emails again.

     

Log in to post a comment.

MongoDB Logo MongoDB