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: Out of Memory #69

Closed evintila closed 6 years ago

evintila commented 6 years ago

Command: "ytnef -v crash3" Output: Starting program: /usr/local/bin/ytnef -v crash3 Attempting to parse crash3... Out of Memory at ytnef.c : 448 zappa_av1.jpg

Program received signal SIGSEGV, Segmentation fault. 0x00007ffff7bc4429 in TNEFFreeMapiProps (p=p@entry=0x609710) at ytnef.c:978

gdb call trace:

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

1 0x00007ffff7bc4593 in TNEFFreeAttachment (p=p@entry=0x6096a0) 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 crash3.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