Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[crt] fix heap corruption from bad allocation (apache#7735)
The type of runtime->storage_pool was changed at some point from TVMNDArray to TVMGraphRuntimeStorageEntry. This change was not reflected in the call to the allocation for its buffer. If this unclaimed space is allocated to something else, data corruption will happen.
- Loading branch information