Yeraze / ytnef

Yeraze's TNEF Stream Reader - for winmail.dat files
GNU General Public License v2.0
32 stars 22 forks source link

ytnef error when trying to parse file with attachments with filename longer than 100 chars #107

Closed mgiacomoli closed 1 year ago

mgiacomoli commented 1 year ago

The limit configured for attachment filename is too low. It's currently configured to 100 bytes, while as per Microsoft documentation, the maximum filename size is 256 bytes and filepath size is 260 bytes.

In pull request #106 the limit is increased to 260 bytes

QHivert commented 1 year ago

Hello @Yeraze , I have test and validate this fix, could you make a new release so we can build our package with a proper version ?

Yeraze commented 1 year ago

Done! https://github.com/Yeraze/ytnef/releases/tag/v2.1.2