Try NtDuplicateObject instead of DuplicateHandle on Windows 8/8.1 for...
Try NtDuplicateObject instead of DuplicateHandle on Windows 8/8.1 for debugging AppContainer related failures. This patch should be reverted as soon as we get some confirmation that NtDuplicateObject is working better compared to DuplicateHandle. Theory behind this patch is that it might be possible that on machines which reporting this find of failure have some software like AV which might be intercepting calls to DuplciateHandle and may be failing somewhere in intercepted code path due to AppContainer. Looking in IDA error code that we are receiving 0xC0000023 (Which translates INSUFFICIENT_BUFFER (0x7a) in win32 language) doesn't seem to be in NtDuplicateObject code path (At least not found easily.). BUG=468922 R=jschuh@chromium.org,cpu@chromium.org Review URL: https://codereview.chromium.org/1101913002 Cr-Commit-Position: refs/heads/master@{#326943}
Showing
Please register or sign in to comment