You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#[cfg(unix)]implDropforMemoryMap{/// Unmap the mapping. Fails the task if `munmap` fails.fndrop(&mutself){ifself.len == 0{/* workaround for dummy_stack */return;}unsafe{// FIXME: what to do if this fails?let _ = libc::munmap(self.dataas*c_void,self.lenas libc::size_t);}}}
Same for Windows. Crypto needs this guarantee to protect sensitive data.