This CL makes legacy IPC structures on Windows refuse to adopt pseudo
handle values and adds tests to ensure that their empty/invalid values
are safe.
Bug: 406023316
Change-Id: I385339b51ace02e8822ccb5ee626f54740a223af
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6440356
Reviewed-by: Oksana Zhuravlova <oksamyt@chromium.org>
Commit-Queue: Alex Gough <ajgo@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1444409}