[Security] handle returned value
authorJaeyun <jy1210.jung@samsung.com>
Thu, 17 Oct 2019 04:18:33 +0000 (13:18 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Fri, 18 Oct 2019 07:38:58 +0000 (16:38 +0900)
commitd0a71879df35a47199ddb99d581ed9ce3f47fcb4
tree0afc942e94a447f3fb02a22d441f0f0d409fe86c
parent8dddae251f9778c78067a6d76f3fc9a0a7e8c81b
[Security] handle returned value

Check mem allocation failure case and refactor file-close in IIO.

This PR is related with ssms-1016-0006.

Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
35 files changed:
api/android/api/src/main/jni/nnstreamer-native-api.c
api/android/api/src/main/jni/nnstreamer-native-customfilter.c
api/android/api/src/main/jni/nnstreamer-native-pipeline.c
api/android/api/src/main/jni/nnstreamer-native-singleshot.c
api/capi/src/nnstreamer-capi-pipeline.c
api/capi/src/nnstreamer-capi-single-new.c
api/capi/src/nnstreamer-capi-single.c
api/capi/src/nnstreamer-capi-tizen.c
api/capi/src/nnstreamer-capi-util.c
ext/nnstreamer/android_source/gstamcsrc.c
ext/nnstreamer/tensor_decoder/tensordec-boundingbox.c
ext/nnstreamer/tensor_decoder/tensordec-imagelabel.c
ext/nnstreamer/tensor_decoder/tensordec-pose.c
ext/nnstreamer/tensor_filter/tensor_filter_caffe2.c
ext/nnstreamer/tensor_filter/tensor_filter_nnfw.c
ext/nnstreamer/tensor_filter/tensor_filter_python.c
ext/nnstreamer/tensor_filter/tensor_filter_pytorch.c
ext/nnstreamer/tensor_filter/tensor_filter_tensorflow.c
ext/nnstreamer/tensor_filter/tensor_filter_tensorflow_core.cc
ext/nnstreamer/tensor_filter/tensor_filter_tensorflow_lite.c
gst/nnstreamer/nnstreamer_conf.c
gst/nnstreamer/nnstreamer_subplugin.c
gst/nnstreamer/tensor_demux/gsttensordemux.c
gst/nnstreamer/tensor_filter/tensor_filter_custom.c
gst/nnstreamer/tensor_repo/tensor_repo.c
gst/nnstreamer/tensor_source/tensor_src_iio.c
gst/nnstreamer/tensor_split/gsttensorsplit.c
nnstreamer_example/custom_example_average/nnstreamer_customfilter_example_average.c
nnstreamer_example/custom_example_opencv/nnstreamer_customfilter_opencv_average.cc
nnstreamer_example/custom_example_opencv/nnstreamer_customfilter_opencv_scaler.cc
nnstreamer_example/custom_example_scaler/nnstreamer_customfilter_example_scaler_allocator.c
tests/bmp2png.c
tests/nnstreamer_plugins/unittest_plugins.cpp
tests/nnstreamer_source/unittest_src_iio.cpp
tests/tizen_capi/unittest_tizen_capi.cpp