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@winehq.org ReportedBy: slvm.free@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.
http://bugs.winehq.org/show_bug.cgi?id=34245
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #45570|application/octet-stream |text/plain mime type| |
http://bugs.winehq.org/show_bug.cgi?id=34245
--- Comment #1 from Hans Leidekker hans@meelstraat.net 2013-08-10 07:47:44 CDT --- Created attachment 45571 --> http://bugs.winehq.org/attachment.cgi?id=45571 patch
Thanks, this patch should help.
http://bugs.winehq.org/show_bug.cgi?id=34245
lijing slvm.free@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #2 from lijing slvm.free@gmail.com 2013-08-10 21:39:23 CDT --- Thanks. It really works.
http://bugs.winehq.org/show_bug.cgi?id=34245
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch Status|RESOLVED |REOPENED Resolution|FIXED | Ever Confirmed|0 |1
--- Comment #3 from Bruno Jesus 00cpxxx@gmail.com 2013-08-10 21:41:49 CDT --- (In reply to comment #2)
Thanks. It really works.
Thanks for testing. Bugs are marked as fixed when the patch is commited.
http://bugs.winehq.org/show_bug.cgi?id=34245
--- Comment #4 from lijing slvm.free@gmail.com 2013-08-10 21:45:24 CDT --- (In reply to comment #3)
(In reply to comment #2)
Thanks. It really works.
Thanks for testing. Bugs are marked as fixed when the patch is commited.
Fine. Ana appreciate your work. ^_^
http://bugs.winehq.org/show_bug.cgi?id=34245
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|A simple program I wrote |WMI query "select * from |myself making a query of |win32_Directory" via WMI |"select * from |crashed |win32_Directory" via WMI | |crashed |
http://bugs.winehq.org/show_bug.cgi?id=34245
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|WMI query "select * from |WMI query "select * from |win32_Directory" via WMI |win32_Directory" via WMI |crashed |crashes
http://bugs.winehq.org/show_bug.cgi?id=34245
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |7da04aab6d0166005beb776f213 | |5707fc57d716e Status|REOPENED |RESOLVED Resolution| |FIXED
--- Comment #5 from Hans Leidekker hans@meelstraat.net 2013-08-30 14:08:01 CDT --- Fixed by 7da04aab6d0166005beb776f2135707fc57d716e.
http://bugs.winehq.org/show_bug.cgi?id=34245
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org 2013-09-13 13:20:47 CDT --- Closing bugs fixed in 1.7.2.
http://bugs.winehq.org/show_bug.cgi?id=34245
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |1.6.x
http://bugs.winehq.org/show_bug.cgi?id=34245
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|1.6.x |---
--- Comment #7 from Alexandre Julliard julliard@winehq.org 2013-11-15 13:40:25 CST --- Removing 1.6.x milestone from bugs included in 1.6.1.