[Subplugin] check symlink before getting handle
authorJaeyun <jy1210.jung@samsung.com>
Tue, 30 Apr 2019 08:19:41 +0000 (17:19 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Wed, 8 May 2019 08:14:02 +0000 (17:14 +0900)
commitc489001286600f787f0b69d7d53e9836a250e435
treeee163d896e98cf52e2b480c660d1ce9bc42fddd4
parent7782fb9af977cf1e3dc5d5f6f82479eb1bea1857
[Subplugin] check symlink before getting handle

Add code to check symlink before open file handle.
(fix one of security issues)

Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
gst/nnstreamer/nnstreamer_subplugin.c
gst/nnstreamer/tensor_filter/tensor_filter_custom.c