dmlc / dmlc/MXNet.cpp

Missing input validation can cause memory corruption.

Open
#74 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
C++
Stars
115
Forks
78
PR merge metrics
No merged PRs in 30d

Description

I have some code that can vary the batch size as I process the data. I have been trying it with mxnet, and ran into memory corruptions and crashes. I traced the problem to an wrongly sized array, code to reproduce the problem is attached. Ideally mxnet should report the array is of an unexpected size and abort.

[testMXNet.zip](https://github.com/dmlc/MXNet.cpp/files/777305/testMXNet.zip)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.