Pure-Rust asynchronous SSH library, both client and server

#15 cryptovec: use NonNull::dangling instead of potentially dangled member

Closed on January 12, 2021
ubnt-intrepid on January 12, 2021

The main intent of this change is to make it explicit that self.p points to dangled location in the unallocated situation (i.e., it’s not valid address but well-aligned). See this section for details.

ubnt-intrepid added a change on January 12, 2021
CSYBOTTDUSW4DBIDMDVBQJFVFD3BA73MJNB5MRICBDGC23W6P7GAC
main
pmeunier on January 12, 2021

Nice! That section wasn’t there when I first wrote this project. I just applied your change, and republished a version with the fix on crates.io.

pmeunier closed this discussion on January 12, 2021