Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Zero the out-parameter when blocking NtMapViewOfSection() in the sand…
…box. If mapping of a DLL into the sandboxed process is blocked then we unmap it and return an "unsuccessful" status, but we left the DLL base-address out-parameter set to a non-NULL value. Reset the out-parameter to null when blocking a DLL, to ensure that callers don't get confused into thinking the operation was successful. This replicates the change from https://chromium-review.googlesource.com/c/chromium/src/+/1211322 to the ThirdPartyModulesBlocking implementation of NtMapViewOfSection(). Change-Id: I7c326a1c78870888c2141f24ae357d0f9be55a62 Reviewed-on: https://chromium-review.googlesource.com/1213561 Commit-Queue: Wez <wez@chromium.org> Reviewed-by: Will Harris <wfh@chromium.org> Cr-Commit-Position: refs/heads/master@{#589704}
- Loading branch information