Does anyone actually length-check CStr::from_ptr?
I was doing some FFI wrapping and saw this note in the CStr::from_ptr documentation (CStr in std::ffi - Rust): The nul terminator must be within isize::MAX from ptr Because malloc and objects in C generally use size_t…