Skip to content

Commit

Permalink
[CVE-2017-11792] Partially initialized data in chakra JIT leads to OO…
Browse files Browse the repository at this point in the history
…B read/write in RPC - Internal
  • Loading branch information
MikeHolman authored and agarwal-sandeep committed Oct 10, 2017
1 parent 775ed51 commit 4e319aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/JITClient/JITManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ void * __RPC_USER midl_user_allocate(
#endif
size_t size)
{
return (HeapAlloc(GetProcessHeap(), 0, size));
return (HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, size));
}

void __RPC_USER midl_user_free(_Pre_maybenull_ _Post_invalid_ void * ptr)
Expand Down

0 comments on commit 4e319aa

Please sign in to comment.