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
Right now the DMA API is unsound, the problem happens if you use a smart pointer (Box, etc) that deallocates on drop. In that case, the DMA will continue the write/read to the invalid region if the user drops the transfer type.
The Drop implementation should stop the DMA. For more information and example see the embedonomicon.
Right now the DMA API is unsound, the problem happens if you use a smart pointer (Box, etc) that deallocates on drop. In that case, the DMA will continue the write/read to the invalid region if the user drops the transfer type.
The
Drop
implementation should stop the DMA. For more information and example see the embedonomicon.CC @korken89
The text was updated successfully, but these errors were encountered: