Yeraze / ytnef

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

Ensure the size of the version field is 4 bytes #88

Closed ohwgiles closed 3 years ago

ohwgiles commented 3 years ago

A corrupted version field size can cause TNEFVersion to access outside of allocated memory. Check the version is the expected size and raise an error if not.

Resolves: #86 Reported-by: jasperla