darknet subscripts its layer array with an index taken from a configuration file without checking it against the array's length. The array is allocated in src-…
hank-ai/darknet sizes a convolutional layer's weight and output heap buffers by multiplying configuration fields taken from a .cfg file in unchecked 32-bit int…