[Bug 34245] New: A simple program I wrote myself making a query of "select * from win32_Directory" via WMI crashed

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Aug 10 06:59:47 CDT 2013


http://bugs.winehq.org/show_bug.cgi?id=34245

             Bug #: 34245
           Summary: A simple program I wrote myself making a query of
                    "select * from win32_Directory" via WMI crashed
           Product: Wine
           Version: 1.7.0
          Platform: x86
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: wmi&wbemprox
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: slvm.free at gmail.com
    Classification: Unclassified


Created attachment 45570
  --> http://bugs.winehq.org/attachment.cgi?id=45570
All crash output from terminal

I wrote a simple program make a query of "select * from Win32_Directory" to
WMI, and it crashes every time. But it works well on XP.
  And I find that it's caused by the funtion of seed_dirs(), in
dlls/wbemprox/builtin.c at line 1086, without checking if "const struct expr
*cond" is NULL. So when it's NULL code "cond->u.expr.left" would lead to the
crash.
  I found it on version 1.6 at first, and then downloaded v1.7 to install and
the problem still exists.

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