Skip to content

Conversation

@krasimirgg
Copy link
Contributor

@krasimirgg krasimirgg commented Sep 25, 2024

No functional changes intended.

From the docs of pointer::add:

If the computed offset is non-zero, then self must be derived from a pointer to some allocated object, and the entire memory range between self and the result must be in bounds of that allocated object. In particular, this range must not “wrap around” the edge of the address space.

@seanmonstar
Copy link
Owner

Thanks! Notably, this was reported in #177.

Thoughts @AaronO?

@seanmonstar seanmonstar merged commit cf69365 into seanmonstar:master Sep 30, 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

Successfully merging this pull request may close these issues.

2 participants