https://bugs.winehq.org/show_bug.cgi?id=53926
--- Comment #1 from Dmitry Timoshkov dmitry@baikal.ru --- Created attachment 73587 --> https://bugs.winehq.org/attachment.cgi?id=73587 patch
Attached patch fixes both the test and an application that I have here, and doesn't seem to break existing tests.
The patch follows what dlls/rpcrt4/ndr_typelib.c,typelib_stub_init() does, and what dlls/oleaut32/tmarshal.c,PSFacBuf_CreateStub() did in wine-3.0.5.
A more cardinal solution is to remove QueryInterface() calls in both places, however that would probably require a more convincing argument.