Discussion:
Problem with very long headers
(too old to reply)
Piet
2022-06-22 09:41:51 UTC
Permalink
Every now and then the body of a received message is partly or completely
mangled. The symptoms are always the same:
- the message has been "handled" by M$-Exchange
- the header is ridiculously long: I've seen 8 kB and more than 11 kB
(the "x-ms-exchange-antispam-messagedata-0:" is already about 2 kB)

Given that this combination is consistent, I suppose that:
- Eudora has a static array allocated for the header
- the ridiculous length of the header causes an unchecked array bound
overflow, resulting in the body getting mangled

Does anyone has a solution or workaround for this? Patching the binary
doesn't look like a feasible option.

-p
DaveH2
2022-06-23 14:17:59 UTC
Permalink
Post by Piet
Every now and then the body of a received message is partly or completely
- the message has been "handled" by M$-Exchange
- the header is ridiculously long: I've seen 8 kB and more than 11 kB
(the "x-ms-exchange-antispam-messagedata-0:" is already about 2 kB)
- Eudora has a static array allocated for the header
- the ridiculous length of the header causes an unchecked array bound
overflow, resulting in the body getting mangled
Does anyone has a solution or workaround for this? Patching the binary
doesn't look like a feasible option.
-p
If it's just a display problem, you could try hiding all but the most basic headers.
The 'TabooHeaders' entry in eudora.ini will do that.

Mine is -
TabooHeaders=X-,XData,Auto-,Received,ENVID,User-Agent,Status,Message,In-Reply,Importance,Mime-,Organization,Content-,Thread-,List-,Resent-Message,References,Return,X400,Mail-System,Errors-To,Delivery,Disposition,Precedence,Authentication-Results,DKIM-Signature,DomainKey-Signature,ARC-,x_spam_cmae,MSIP_Label

Try copying and pasting that into your eudora.ini file (with Eudora closed) in place of the original TabooHeaders entry and see if it helps.
Backup eudora.ini first just in case!
You can always see all the headers again if you want to by clicking the 'Blah Blah Blah' button at the top of a received message.
HTH. Cheers, Dave.

Loading...