Skip to content

Commit 4e319aa

Browse files
MikeHolmanagarwal-sandeep
authored andcommitted
[CVE-2017-11792] Partially initialized data in chakra JIT leads to OOB read/write in RPC - Internal
1 parent 775ed51 commit 4e319aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/JITClient/JITManager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ void * __RPC_USER midl_user_allocate(
1313
#endif
1414
size_t size)
1515
{
16-
return (HeapAlloc(GetProcessHeap(), 0, size));
16+
return (HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, size));
1717
}
1818

1919
void __RPC_USER midl_user_free(_Pre_maybenull_ _Post_invalid_ void * ptr)

0 commit comments

Comments
 (0)