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

Add shape indexing protection #810

Closed
wants to merge 4 commits into from

Conversation

jacobkahn
Copy link
Member

Summary: See title. We control the overload, so check bounds in Shape::operator[]. Ended up revealing several subtle stack overwriting bugs that caused some nondeterministic behavior which are now resolved upstream.

Differential Revision: D33143590

Differential Revision: D32678121

fbshipit-source-id: fe6f8a25768d8dd4bb139d48095ebdaa7179b6e7
Differential Revision: D32902722

fbshipit-source-id: b2f4fc0e6ff64eec6b947b6b27e8517a835a6730
Differential Revision: D32159630

fbshipit-source-id: 7e693422b8d55878b5f1d8466e70a40c2eec43bb
Summary: See title. We control the overload, so check bounds in `Shape::operator[]`. Ended up revealing several subtle stack overwriting bugs that caused some nondeterministic behavior which are now resolved upstream.

Differential Revision: D33143590

fbshipit-source-id: b361787887b31f41477ac19476816c72d24a1e71
@facebook-github-bot facebook-github-bot added CLA Signed Do not delete this pull request or issue due to inactivity. fb-exported labels Jan 10, 2022
@facebook-github-bot
Copy link

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

jacobkahn added a commit to jacobkahn/flashlight that referenced this pull request Jan 11, 2022
Summary:
Pull Request resolved: flashlight#810

See title. We control the overload, so check bounds in `Shape::operator[]`. Ended up revealing several subtle stack overwriting bugs that caused some nondeterministic behavior which are now resolved upstream.

Differential Revision: D33143590

fbshipit-source-id: c2116a7ed4ec21735cbcc26c029652fa4db46fab
jacobkahn added a commit to jacobkahn/flashlight that referenced this pull request Jan 11, 2022
Summary:
Pull Request resolved: flashlight#810

See title. We control the overload, so check bounds in `Shape::operator[]`. Ended up revealing several subtle stack overwriting bugs that caused some nondeterministic behavior which are now resolved upstream.

Differential Revision: D33143590

fbshipit-source-id: afccbdbf97ce4fe1687003c6e612c2a6d89142b1
jacobkahn added a commit to jacobkahn/flashlight that referenced this pull request Jan 11, 2022
Summary:
Pull Request resolved: flashlight#810

See title. We control the overload, so check bounds in `Shape::operator[]`. Ended up revealing several subtle stack overwriting bugs that caused some nondeterministic behavior which are now resolved upstream.

Differential Revision: D33143590

fbshipit-source-id: 471025ac453f7b1e61c63a2576abf43cdcb2f9cf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Do not delete this pull request or issue due to inactivity. fb-exported
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants