[SVACE-Fix] Fix 376961 / str without termination
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Thu, 4 Oct 2018 05:23:35 +0000 (14:23 +0900)
committerjaeyun-jung <39614140+jaeyun-jung@users.noreply.github.com>
Thu, 4 Oct 2018 09:40:31 +0000 (18:40 +0900)
commit1c56243e7e8feaf80dbb502bdad0470b0b18e9a2
treeeb31cb628ea266b92f34cb1ccb062115057a0472
parente11d851d0a7e1de883d7c90e6793508d331807a4
[SVACE-Fix] Fix 376961 / str without termination

Fixed error: WID:57241610 Copying from string 'label' to 'out_info.data' without null termination at tensordec.c:743 by calling function 'strncpy'.
Reference: https://stackoverflow.com/questions/1453876/why-does-strncpy-not-null-terminate

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
gst/tensor_decoder/tensordec.c