Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
Reported by bluss on Github:
https://github.com/rust-ndarray/ndarray/issues/771
"What I can see, there is no check for allocation success, so any buffer can be created with a null pointer, which leads to soundness problems in most methods. Best look into using std::alloc::handle_alloc_error or alternatives. (This problem means that the mutablebuffer is not a safe abstraction, and it should preferably not be exposed as public API like this.)"
Attachments
Issue Links
- links to