Do not double-unref send rights when using POLICY_SUBSTITUE_PORT.
By destroying the reply message, the already-copied-out right will be unrefed again, leading to an over-release of send rights. This also requires that Rule(POLICY_SUBSTITUTE_PORT) users provide a send right that can be duplicated with MACH_MSG_TYPE_COPY_SEND, rather than using MAKE_SEND. BUG=367863 R=mark@chromium.org Review URL: https://codereview.chromium.org/306123012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@274467 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment