dmlc / dmlc/MXNet.cpp

Missing input validation can cause memory corruption.

Ouverte
#74 0 commentaires 1 réaction 0 personnes assignées Voir sur GitHub
Langage dominant
C++
Étoiles
115
Forks
78
Métriques de merge des PR
Aucune PR mergée en 30 j

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)

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.