dnn: fix sporadic crashes in getUMat()
authorAlexander Alekhin <alexander.alekhin@intel.com>
Wed, 25 Oct 2017 15:07:05 +0000 (18:07 +0300)
committerAlexander Alekhin <alexander.alekhin@intel.com>
Wed, 25 Oct 2017 15:07:05 +0000 (18:07 +0300)
commit436a1f72a5199a2f3ccdbb30f35c0cd0a80fbe23
treefdbdd35658512a4b9138b29ead6b7552497c95ad
parent21c8e6d02dd10875ae2db6d732182bcd3feb3d1c
dnn: fix sporadic crashes in getUMat()

Incorrect "total" buffer size calculated in StdMatAllocator::allocate() due wrong step values.
modules/dnn/src/tensorflow/tf_importer.cpp