http://bugs.winehq.org/show_bug.cgi?id=19430
Summary: winedump: null pointer dereference in spec mode Product: Wine Version: 1.1.26 Platform: All OS/Version: Linux Status: UNCONFIRMED Severity: trivial Priority: P5 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: tillmann.werner@gmx.de
Created an attachment (id=22556) --> (http://bugs.winehq.org/attachment.cgi?id=22556) diff against git that solved the problem
I think a null pointer dereference may occur when running winedump in spec mode. I encountered a segmentation fault when invoking ./winedump spec -c /tmp/poly/poly.dll -I /tmp/poly/. The reason seems to be line 1598 in tools/winedump/pe.c where dll_current_symbol may be NULL. This affects version 1.1.26 as well as a fresh git checkout. The attached URL contains a quick hack that worked for me but certainly requires review from somebody more familiar with the code.