Mojo EDK: RewriteHandles leaves stale HANDLEs in message on failure |
||
Issue descriptionOn Windows, we rewrite (i.e. duplicate-and-close) outgoing HANDLEs before sending to another process. This operation can fail if the target process is closing. If the operation fails the local HANDLE is still closed, but we're currently leaving its value in the Message unchanged. When the Message is destroyed, PlatformHandle tries to close the (now invalid) handle and DCHECKs. We shouldn't DCHECK but should instead invalidate any handle for which DuplicateHandle fails in RewriteHandles.
,
May 3 2016
|
||
►
Sign in to add a comment |
||
Comment 1 by bugdroid1@chromium.org
, May 3 2016