dmlc / dmlc/MXNet.cpp

Missing input validation can cause memory corruption.

Abierto
#74 0 comentarios 1 reacción 0 asignados Ver en GitHub
Lenguaje dominante
C++
Estrellas
115
Forks
78
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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)

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

Start by running the attached testMXNet.zip reproduction and trace the wrongly sized array through the MXNet C++ interface. Identify where the batch-size input is accepted and determine how an unexpected array size is currently handled. Done means the invalid size is reported and processing aborts without memory corruption or a crash.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
cpp
Área
machine-learning
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
25/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.