Skip to content

Validate wire object addresses against EDOHostService tracked objects. - #314

Merged
copybara-service[bot] merged 1 commit into
masterfrom
test_1025691066
Nov 26, 2026
Merged

copybara-service[bot] merged 1 commit into
masterfrom
test_1025691066

Conversation

@copybara-service

Copy link
Copy Markdown

Validate wire object addresses against EDOHostService tracked objects.

Replace raw integer-to-pointer casts in EDOInvocationRequest,
EDOMethodSignatureRequest, and same-queue EDOClientService unwrapping with
tracked-object lookups (-localObjectForRemoteAddress: and
-localObjectForRemoteAddress:port:) on EDOHostService, and remove
-isObjectAliveWithPort:remoteAddress:. Untracked or released addresses now
return an EDORemoteException (EDOServiceGenericException) on both
EDOInvocationResponse and EDOMethodSignatureResponse, which
-[EDOObject methodSignatureForSelector:] throws so cached and uncached calls
fail consistently. Cross-service proxy unwrapping through the resolve path
remains unchanged and will be handled separately.

@google-cla

google-cla Bot commented Nov 26, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

Replace raw integer-to-pointer casts in `EDOInvocationRequest`,
`EDOMethodSignatureRequest`, and same-queue `EDOClientService` unwrapping with
tracked-object lookups (`-localObjectForRemoteAddress:` and
`-localObjectForRemoteAddress:port:`) on `EDOHostService`, and remove
`-isObjectAliveWithPort:remoteAddress:`. Untracked or released addresses now
return an `EDORemoteException` (`EDOServiceGenericException`) on both
`EDOInvocationResponse` and `EDOMethodSignatureResponse`, which
`-[EDOObject methodSignatureForSelector:]` throws so cached and uncached calls
fail consistently. Cross-service proxy unwrapping through the resolve path
remains unchanged and will be handled separately.

PiperOrigin-RevId: 1030261682
@copybara-service
copybara-service Bot merged commit d312e50 into master Nov 26, 2026
2 of 3 checks passed
@copybara-service
copybara-service Bot deleted the test_1025691066 branch November 26, 2026 00:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants