[Users] [Bug 3457] broken winmail.dat attachments cause crash

noreply at thewildbeast.co.uk noreply at thewildbeast.co.uk
Sat Jul 4 15:05:56 CEST 2015


http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=3457

--- Comment #9 from Michael Rasmussen <mir at datanom.net> ---
(In reply to comment #8)
> 
> I can't stress enough how important the tnef plugin is to business users
> (such as us).  People can and do send attachments using it, and we have to
> access them.  We can't change what others do, but have to deal with their
> decisions and my users would have no clue how to deal with tnef without the
> plugin.... all they would see is "winmail.dat".  I have looked into finding
> some alternative and I can't find anything that will not create a nightmare.
> I wish I were a programmer, because I would gladly try to assist with fixing
> whatever is an issue.
> 
I have tried decoding your attached problem emails with this library:
http://www.pldaniels.com/opentnef/

However quit old it does seem to run without crashing and outputting a correct
error message:

Problem1:
$ ./opentnef -i /tmp/problem1 --debug
tnef.c:700:TNEF_main:DEBUG: Start, decoding /tmp/problem1
tnef.c:752:TNEF_main:DEBUG: Read 21447 bytes
tnef.c:628:TNEF_decode_tnef:DEBUG: Start. Size = 21447
tnef.c:642:TNEF_decode_tnef:WARNING: Bad TNEF signature, expecting 223e9f78 got
6d6f7246
tnef.c:649:TNEF_decode_tnef:DEBUG: TNEF Attach Key: 7320
tnef.c:658:TNEF_decode_tnef:DEBUG: TNEF - Commence reading attributes
tnef.c:661:TNEF_decode_tnef:DEBUG: Offset = 0x6
tnef.c:433:TNEF_read_attribute:DEBUG: Reading Attribute...
tnef.c:440:TNEF_read_attribute: Reading Size...
tnef.c:468:TNEF_read_attribute:DEBUG: Reading Checksum...(offset 6,
bytes=778399338)
tnef.c:212:TNEF_read_16:ERROR: Attempting to read past end
tnef.c:472:TNEF_read_attribute:DEBUG: Decoding attribute 1785225586
tnef.c:676:TNEF_decode_tnef:DEBUG: Done.
tnef.c:774:TNEF_main:DEBUG: finished decoding.

Problem2:
$ ./opentnef -i /tmp/problem2 --debug
tnef.c:700:TNEF_main:DEBUG: Start, decoding /tmp/problem2
tnef.c:752:TNEF_main:DEBUG: Read 20233 bytes
tnef.c:628:TNEF_decode_tnef:DEBUG: Start. Size = 20233
tnef.c:642:TNEF_decode_tnef:WARNING: Bad TNEF signature, expecting 223e9f78 got
6d6f7246
tnef.c:649:TNEF_decode_tnef:DEBUG: TNEF Attach Key: 6d20
tnef.c:658:TNEF_decode_tnef:DEBUG: TNEF - Commence reading attributes
tnef.c:661:TNEF_decode_tnef:DEBUG: Offset = 0x6
tnef.c:433:TNEF_read_attribute:DEBUG: Reading Attribute...
tnef.c:440:TNEF_read_attribute: Reading Size...
tnef.c:468:TNEF_read_attribute:DEBUG: Reading Checksum...(offset 6,
bytes=1081697653)
tnef.c:212:TNEF_read_16:ERROR: Attempting to read past end
tnef.c:472:TNEF_read_attribute:DEBUG: Decoding attribute 1767989806
tnef.c:676:TNEF_decode_tnef:DEBUG: Done.
tnef.c:774:TNEF_main:DEBUG: finished decoding.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Users mailing list