ntdll: Prevent NULL dereference in NtSuspendThread.
commita39d67d8c914d9c34725e1265fdf933614c6726b
authorAndrew Wesie <awesie@gmail.com>
Fri, 3 Feb 2017 10:20:39 +0000 (3 04:20 -0600)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 3 Feb 2017 18:05:10 +0000 (3 19:05 +0100)
treea2483d69eaab2da2052a49f6f9e89b89e3ec2add
parente829de27fd56cf1bb4654e2ed0db293834a5aa95
ntdll: Prevent NULL dereference in NtSuspendThread.

Overwatch calls NtSuspendThread directly, and expects to be able to pass in a
NULL pointer for the count argument.

Signed-off-by: Andrew Wesie <awesie@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/ntdll/thread.c