wbemprox: Avoid a crash when a class is not implemented.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
stable
Hans Leidekker 2019-09-19 19:33:28 +02:00 committed by Alexandre Julliard
parent 82c753a273
commit 58572fc916
1 changed files with 2 additions and 0 deletions

View File

@ -1123,6 +1123,8 @@ void set_variant( VARTYPE type, LONGLONG val, void *val_ptr, VARIANT *ret )
static HRESULT map_view_index( const struct view *view, UINT index, UINT *table_index, UINT *result_index )
{
if (!view->table) return WBEM_E_NOT_FOUND;
switch (view->type)
{
case VIEW_TYPE_SELECT: