• Dmitry Timoshkov's avatar
    rpcrt4: Add an exception handler to NdrAsyncClientCall. · 1df0091d
    Dmitry Timoshkov authored
    NdrClientCall already uses TRY/EXCEPT block if the procedure has
    Oi_HAS_COMM_OR_FAULT in its Oi_flags, I've added similar block
    to NdrAsyncClientCall but without mapping the fault code using
    CommFaultOffsets because NdrAsyncClientCall doesn't have this
    implemented.
    
    An installer that I have here calls NdrAsyncClientCall in order
    to query status of a not yet installed service, and that leads
    to a crash due to RaiseException from inside of NdrAsyncClientCall.
    With this patch it no longer crashes on an unhandled exception,
    and then installs the service.
    Signed-off-by: 's avatarDmitry Timoshkov <dmitry@baikal.ru>
    Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
    1df0091d
Name
Last commit
Last update
..
tests Loading commit data...
Makefile.in Loading commit data...
cproxy.c Loading commit data...
cpsf.c Loading commit data...
cpsf.h Loading commit data...
cstub.c Loading commit data...
epm.idl Loading commit data...
epm_towers.h Loading commit data...
ncastatus.h Loading commit data...
ndr_clientserver.c Loading commit data...
ndr_contexthandle.c Loading commit data...
ndr_es.c Loading commit data...
ndr_fullpointer.c Loading commit data...
ndr_marshall.c Loading commit data...
ndr_misc.h Loading commit data...
ndr_ole.c Loading commit data...
ndr_stubless.c Loading commit data...
ndr_stubless.h Loading commit data...
ndr_typelib.c Loading commit data...
ndr_types.idl Loading commit data...
rpc_assoc.c Loading commit data...
rpc_assoc.h Loading commit data...
rpc_async.c Loading commit data...
rpc_binding.c Loading commit data...
rpc_binding.h Loading commit data...
rpc_defs.h Loading commit data...
rpc_epmap.c Loading commit data...
rpc_message.c Loading commit data...
rpc_message.h Loading commit data...
rpc_server.c Loading commit data...
rpc_server.h Loading commit data...
rpc_transport.c Loading commit data...
rpcrt4.spec Loading commit data...
rpcrt4_main.c Loading commit data...
version.rc Loading commit data...