[Bug 19430] New: winedump: null pointer dereference in spec mode

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Jul 23 09:46:42 CDT 2009


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 at winehq.org
        ReportedBy: tillmann.werner at 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.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list