dmlc / dmlc/MXNet.cpp

Missing input validation can cause memory corruption.

Aperta
#74 0 commenti 1 reazione 0 assegnatari Vedi su GitHub
Lingua principale
C++
Stelle
115
Fork
78
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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)

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.