Chromium Code Reviews
DescriptionReplace calls to rand_s with calls to RtlGenRandom.
Add a test for GetGranularAlignedRandomOffset.
This potentially fixes two similar crashes in sandbox::ApplyProcessMitigationsToSuspendedProcess and sandbox::InterceptionManager::PatchNtdll.
BUG=379218, 501813
TEST=sbox_unittests
Committed: https://crrev.com/f4b1928eaa63736de442317980682bcf1244bd17
Cr-Commit-Position: refs/heads/master@{#349748}
Patch Set 1 #Patch Set 2 : call directly into RtlGenRandom #Patch Set 3 : remove unneeded header #
Total comments: 2
Patch Set 4 : fix nit #
Messages
Total messages: 10 (3 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||