Alexandre Julliard : server: Don' t return debug registers unless explicitly requested.
Alexandre Julliard
julliard at winehq.org
Mon Sep 18 14:43:48 CDT 2017
Module: wine
Branch: master
Commit: cb7f04ce6f9bbd4d0d951ca19e924b912e29b9ea
URL: http://source.winehq.org/git/wine.git/?a=commit;h=cb7f04ce6f9bbd4d0d951ca19e924b912e29b9ea
Author: Alexandre Julliard <julliard at winehq.org>
Date: Mon Sep 18 15:50:16 2017 +0200
server: Don't return debug registers unless explicitly requested.
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
server/thread.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server/thread.c b/server/thread.c
index 903420b..2c864a6 100644
--- a/server/thread.c
+++ b/server/thread.c
@@ -1653,7 +1653,7 @@ DECL_HANDLER(get_thread_context)
memset( context, 0, sizeof(context_t) );
context->cpu = thread->process->cpu;
if (thread->context) copy_context( context, thread->context, req->flags & ~flags );
- if (flags) get_thread_context( thread, context, flags );
+ if (req->flags & flags) get_thread_context( thread, context, req->flags & flags );
}
release_object( thread );
}
More information about the wine-cvs
mailing list