Yeraze / ytnef

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

SIGSEGV in TNEFFreeMapiProps (3) #70

Closed evintila closed 6 years ago

evintila commented 6 years ago

Command: "ytnef -v crash4" Output: Attempting to parse crash4... Out of Memory at ytnef.c : 483 ERROR Parsing MAPI block

Program received signal SIGSEGV, Segmentation fault.

gdb call trace:

0 0x00007ffff7bc4429 in TNEFFreeMapiProps (p=p@entry=0x7fffffffdb28) at ytnef.c:978

1 0x00007ffff7bc46cb in TNEFFree (TNEF=TNEF@entry=0x7fffffffd930) at ytnef.c:954

2 0x0000000000401021 in main (argc=3, argv=0x7fffffffdcf8) at main.c:130

version 1.9.2, Ubuntu 16.04, gcc 5.4.0 found using afl crash4.zip

ohwgiles commented 6 years ago

fixed in #71

Yeraze commented 6 years ago

Released in https://github.com/Yeraze/ytnef/releases/tag/v1.9.3