5 Sep
2025
5 Sep
'25
1:32 a.m.
From: Paul Gofman <pgofman(a)codeweavers.com> --- dlls/wbemprox/class.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dlls/wbemprox/class.c b/dlls/wbemprox/class.c index 49e0201cc53..ee215b1aced 100644 --- a/dlls/wbemprox/class.c +++ b/dlls/wbemprox/class.c @@ -543,6 +543,12 @@ static HRESULT WINAPI class_object_Next( TRACE( "%p, %#lx, %p, %p, %p, %p\n", iface, lFlags, strName, pVal, pType, plFlavor ); + if (lFlags) + { + WARN( "lFlags %#lx.\n", lFlags ); + return WBEM_E_INVALID_PARAMETER; + } + for (i = obj->index_property; i < table->num_cols; i++) { if (is_method( table, i )) continue; -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/8908