]> git.sesse.net Git - ffmpeg/commit
libavfilter/dnn/dnn_backend{openvino, tf}: check memory alloc non-NULL
authorChris Miceli <chris@miceli.net.au>
Wed, 14 Oct 2020 00:59:44 +0000 (11:59 +1100)
committerGuo, Yejun <yejun.guo@intel.com>
Wed, 14 Oct 2020 03:08:09 +0000 (11:08 +0800)
commit6bdfea8d4b3683605f47994e491770bc0bc6ce5d
treec3808c25b299fc6f5c54d42087bd2e65aa1618d1
parentad95e5e45dbb3c3dddc3e2c3fe93bc98f239bd29
libavfilter/dnn/dnn_backend{openvino, tf}: check memory alloc non-NULL

These previously would not check that the return value was non-null
meaning it was susceptible to a sigsegv. This checks those values.
libavfilter/dnn/dnn_backend_openvino.c
libavfilter/dnn/dnn_backend_tf.c