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 MAPIFindUserProp #67

Closed evintila closed 6 years ago

evintila commented 6 years ago

Command: "ytnef -v crash1_1" Output: Starting program: /usr/local/bin/ytnef -v crash1_1 Attempting to parse crash1_1... Out of Memory at ytnef.c : 425 ERROR Parsing MAPI block

Program received signal SIGSEGV, Segmentation fault.

gdb call trace:

0 MAPIFindUserProp (p=p@entry=0x7fffffffd878, ID=ID@entry=2359326) at ytnef.c:1217

1 0x00000000004043ca in ProcessTNEF (TNEF=...) at main.c:166

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

version 1.9.2, Ubuntu 16.04, gcc 5.4.0 found using afl

crash1_1.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