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

PointerMetadata::size_for_metadata can return size which overflows isize #1158

Closed
Tracked by #671
joshlf opened this issue May 1, 2024 · 1 comment
Closed
Tracked by #671

Comments

@joshlf
Copy link
Member

joshlf commented May 1, 2024

No description provided.

@joshlf joshlf mentioned this issue May 1, 2024
82 tasks
@joshlf
Copy link
Member Author

joshlf commented May 2, 2024

Turns out this isn't a problem. Everywhere PointerMetadata::size_for_metadata is used, the bounds check is performed afterwards.

@joshlf joshlf closed this as completed May 2, 2024
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

No branches or pull requests

1 participant