[Bug 50038] IWbemClassObject::Get method with wszName = NULL crashes inside wbemprox

WineHQ Bugzilla wine-bugs at winehq.org
Thu Oct 22 11:05:36 CDT 2020


https://bugs.winehq.org/show_bug.cgi?id=50038

--- Comment #3 from Louis Lenders <xerox.xerox2000x at gmail.com> ---
(In reply to Hans Leidekker from comment #2)
> Created attachment 68482 [details]
> patch
> 
> Can you try this patch?

Hi Hans, 

The patch fixes the crash, thanks!

(Note: The command "powershell -c get-wmiobject win32_process" still doesn`t
work correctly***, but that`s then another bug. This patch is enough to fix the
aforementioned crash, that prevented several installers using chocolatey from
finishing correctly. With this patch they finish fine, thanks again) 

***: Current behaviour after applying patch:

010c:fixme:wbemprox:class_object_GetMethodQualifierSet 001B4D80, L"GetOwner",
04C0EA94                                                                        
010c:fixme:path:parse_url failed to parse
L"System.Management.Automation.resources"                                       
010c:fixme:path:parse_url failed to parse
L"System.Management.Automation.resources"                                       
format-default : The following exception occurred while retrieving members:
"The method or operation is not implemented."                                   
    + CategoryInfo          : NotSpecified: (:) [format-default],
ExtendedTypeSystemException                                                     
    + FullyQualifiedErrorId :
CatchFromBaseGetMembers,Microsoft.PowerShell.Commands.FormatDefaultCommand

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