Skip to content

add a bunch of bounds checking to pytree #7654

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

Merged
merged 6 commits into from
Feb 7, 2025

Conversation

swolchok
Copy link
Contributor

@swolchok swolchok commented Jan 14, 2025

Stack from ghstack (oldest at bottom):

It's possible to pass arbitrary string input to pytree from Python; let's not have a bunch of low-hanging memory safety issues.

Differential Revision: D68166303

It's possible to pass arbitrary string input to pytree from Python; let's not have a bunch of low-hanging memory safety issues.

Differential Revision: [D68166303](https://our.internmc.facebook.com/intern/diff/D68166303/)

[ghstack-poisoned]
Copy link

pytorch-bot bot commented Jan 14, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/7654

Note: Links to docs will display an error until the docs builds have been completed.

✅ No Failures

As of commit 46811f0 with merge base b362ab7 (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jan 14, 2025
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D68166303

It's possible to pass arbitrary string input to pytree from Python; let's not have a bunch of low-hanging memory safety issues.

Differential Revision: [D68166303](https://our.internmc.facebook.com/intern/diff/D68166303/)

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D68166303

It's possible to pass arbitrary string input to pytree from Python; let's not have a bunch of low-hanging memory safety issues.

Differential Revision: [D68166303](https://our.internmc.facebook.com/intern/diff/D68166303/)

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D68166303

@IvanKobzarev IvanKobzarev self-requested a review January 21, 2025 12:29
It's possible to pass arbitrary string input to pytree from Python; let's not have a bunch of low-hanging memory safety issues.

Differential Revision: [D68166303](https://our.internmc.facebook.com/intern/diff/D68166303/)

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D68166303

It's possible to pass arbitrary string input to pytree from Python; let's not have a bunch of low-hanging memory safety issues.

Differential Revision: [D68166303](https://our.internmc.facebook.com/intern/diff/D68166303/)

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D68166303

It's possible to pass arbitrary string input to pytree from Python; let's not have a bunch of low-hanging memory safety issues.

Differential Revision: [D68166303](https://our.internmc.facebook.com/intern/diff/D68166303/)

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D68166303

@facebook-github-bot facebook-github-bot merged commit 926bfcc into gh/swolchok/132/base Feb 7, 2025
47 checks passed
@facebook-github-bot facebook-github-bot deleted the gh/swolchok/132/head branch February 7, 2025 03:51
kirklandsign pushed a commit that referenced this pull request Feb 7, 2025
Pull Request resolved: #7654

It's possible to pass arbitrary string input to pytree from Python; let's not have a bunch of low-hanging memory safety issues.
ghstack-source-id: 265152272
@exported-using-ghexport

Differential Revision: [D68166303](https://our.internmc.facebook.com/intern/diff/D68166303/)
kirklandsign pushed a commit that referenced this pull request Feb 7, 2025
Pull Request resolved: #7654

It's possible to pass arbitrary string input to pytree from Python; let's not have a bunch of low-hanging memory safety issues.
ghstack-source-id: 265152272
@exported-using-ghexport

Differential Revision: [D68166303](https://our.internmc.facebook.com/intern/diff/D68166303/)

Co-authored-by: Github Executorch <github_executorch@arm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported release notes: misc Miscellaneous
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants