[PATCH] ntdll: Check context is NULL in NtGetContextThread.

Johannes Brandstätter jbrandst at 2ds.eu
Wed Jul 11 10:45:32 CDT 2018


Crash Bandicoot N. Sane Trilogy calls NtGetContextThread
with the context being set to NULL which leads to a crash.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45428

Signed-off-by: Johannes Brandstätter <jbrandst at 2ds.eu>
---
 dlls/ntdll/signal_x86_64.c | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ntdll-Check-context-is-NULL-in-NtGetContextThread.patch
Type: text/x-patch
Size: 787 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20180711/9d683802/attachment.bin>


More information about the wine-devel mailing list