=?UTF-8?Q?R=C3=A9mi=20Bernon=20?=: ntdll: Use custom internal zero_bits_64 parameter format.

Alexandre Julliard julliard at winehq.org
Tue Aug 13 14:54:34 CDT 2019


Module: wine
Branch: master
Commit: 6672fc9d8532fbf893a7ea11820f7b0f77a58a54
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=6672fc9d8532fbf893a7ea11820f7b0f77a58a54

Author: Rémi Bernon <rbernon at codeweavers.com>
Date:   Thu Aug  1 10:07:44 2019 +0200

ntdll: Use custom internal zero_bits_64 parameter format.

The zero_bits parameter can be a pointer mask on Win64 and WoW64 and it
was incorrectly truncated to 16bits in APCs. Testing shows that only the
leading zeroes are used in the mask, so we can safely use the 64 based
number of leading zeroes everywhere instead.

Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
Signed-off-by: Huw Davies <huw at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/ntdll/ntdll_misc.h        |  4 +--
 dlls/ntdll/server.c            |  4 +--
 dlls/ntdll/virtual.c           | 80 ++++++++++++++++++++++++++++--------------
 include/wine/server_protocol.h |  4 +--
 server/protocol.def            | 28 +++++++--------
 server/trace.c                 |  8 ++---
 6 files changed, 77 insertions(+), 51 deletions(-)

Diff:   https://source.winehq.org/git/wine.git/?a=commitdiff;h=6672fc9d8532fbf893a7ea11820f7b0f77a58a54



More information about the wine-cvs mailing list