Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(swing-store)!: Remove unsafe hostStorage.setExportCallback method #10063

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gibson042
Copy link
Member

Fixes #10062

Description

Removes hostStorage.setExportCallback(), for reasons explained in #10062.

Security Considerations

This will prevent unlikely but possible uses of the method which would cause misleading behavior.

Scaling Considerations

n/a

Documentation Considerations

This removes mention of the method from the only place where it is documented. No historical note is added because we never use it anyway.

Testing Considerations

n/a

Upgrade Considerations

None known because the method is not in active use.

Copy link

Deploying agoric-sdk with  Cloudflare Pages  Cloudflare Pages

Latest commit: 7ebfc76
Status: ✅  Deploy successful!
Preview URL: https://9df72c56.agoric-sdk.pages.dev
Branch Preview URL: https://gibson-10062-remove-setexpor.agoric-sdk.pages.dev

View logs

@mhofman mhofman self-requested a review September 11, 2024 23:33
Copy link
Member

@mhofman mhofman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah I was always dubious about this method. Good riddance!

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.

SwingStore hostStorage setExportCallback is unsafe
2 participants