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 (2) #66

Closed evintila closed 6 years ago

evintila commented 6 years ago

Command: "ytnef -v crash1" Output: Starting program: /usr/local/bin/ytnef -v crash1 Attempting to parse crash1... Out of Memory at ytnef.c : 425 Program received signal SIGSEGV, Segmentation fault. 0x00007ffff7bc43f8 in TNEFFreeMapiProps (p=p@entry=0x609730) at ytnef.c:977

gdb call trace:

0 0x00007ffff7bc43f8 in TNEFFreeMapiProps (p=p@entry=0x609730) at ytnef.c:977

1 0x00007ffff7bc4593 in TNEFFreeAttachment (p=p@entry=0x6096c0) at ytnef.c:971

2 0x00007ffff7bc46e8 in TNEFFree (TNEF=TNEF@entry=0x7fffffffd930) at ytnef.c:958

3 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 crash1.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