Fix two issues detected by Valgrind (#34462)
authorJan Vorlicek <janvorli@microsoft.com>
Fri, 3 Apr 2020 11:39:35 +0000 (13:39 +0200)
committerGitHub <noreply@github.com>
Fri, 3 Apr 2020 11:39:35 +0000 (13:39 +0200)
commit83bbabab6b992596a13522234c9e6b55d0dcbcfe
treea06192448c7b3bba77acf20b42f142b8a21677ba
parent0375524a91a47ca4db3ee1be548f74bab7e26e76
Fix two issues detected by Valgrind (#34462)

* Fix two issues detected by Valgrind

When I have used Valgrind to investigate a memory corruption issue recently,
I've noticed that it has also reported two cases when a conditional jump
was using an uninitialized variable as one of the inputs to the condition.

This change fixes these.
src/coreclr/src/vm/threads.cpp
src/coreclr/src/vm/win32threadpool.cpp