MXNet.cpp icon indicating copy to clipboard operation
MXNet.cpp copied to clipboard

Missing input validation can cause memory corruption.

Open craftit opened this issue 8 years ago • 0 comments

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

craftit avatar Feb 15 '17 14:02 craftit