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

Provide stronger memory safety guarantee around NDP options #83

Closed
drunkirishcoder opened this issue Apr 10, 2020 · 0 comments · Fixed by #94
Closed

Provide stronger memory safety guarantee around NDP options #83

drunkirishcoder opened this issue Apr 10, 2020 · 0 comments · Fixed by #94
Assignees
Labels
bug Something isn't working

Comments

@drunkirishcoder
Copy link
Contributor

drunkirishcoder commented Apr 10, 2020

Describe the bug?

When working with NDP options, either by pushing a new one or parsing through the existing ones, the option structs returned can be independently owned. That, of course, breaks the memory safety guarantee that you can't have multiple mutable references to the same object.

Expected behavior?

The options returned should behave as if they are mutable borrows on the packet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

Successfully merging a pull request may close this issue.

1 participant