diff options
author | Jeongmo Yang <jm80.yang@samsung.com> | 2020-01-31 10:47:07 +0900 |
---|---|---|
committer | Jeongmo Yang <jm80.yang@samsung.com> | 2020-01-31 10:47:49 +0900 |
commit | 24d56efe163838dcd1b80326bf7e5412650ea8ec (patch) | |
tree | bb37cbf7fdca8705af10d6ea6e6465572b9784a9 | |
parent | b16d79673511e6b94287b1012146c1080f457518 (diff) | |
download | libomxil-e7270-v4l2-tizen_6.0_hotfix.tar.gz libomxil-e7270-v4l2-tizen_6.0_hotfix.tar.bz2 libomxil-e7270-v4l2-tizen_6.0_hotfix.zip |
Fix svace issue - NONTERMINATED_STRINGtizen_7.0_m2_releasetizen_6.5.m2_releasetizen_6.0.m2_releasesubmit/tizen_6.5/20211028.161401submit/tizen_6.0_hotfix/20201103.114801submit/tizen_6.0_hotfix/20201102.192501submit/tizen_6.0/20201029.205101submit/tizen/20200205.023534accepted/tizen/unified/20200205.125247accepted/tizen/7.0/unified/hotfix/20221116.104334accepted/tizen/7.0/unified/20221110.063829accepted/tizen/6.5/unified/20211028.093219accepted/tizen/6.0/unified/hotfix/20201103.052628accepted/tizen/6.0/unified/20201030.123037tizen_7.0_hotfixtizen_7.0tizen_6.5tizen_6.0_hotfixtizen_6.0tizenaccepted/tizen_unifiedaccepted/tizen_7.0_unified_hotfixaccepted/tizen_7.0_unifiedaccepted/tizen_6.5_unifiedaccepted/tizen_6.0_unified_hotfixaccepted/tizen_6.0_unified
[Version] 0.0.1-3
[Profile] Common
[Issue Type] Svace
Change-Id: I270a74225d9b78157751926c262811170b12054b
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
-rwxr-xr-x | openmax/osal/Exynos_OSAL_ETC.c | 2 | ||||
-rwxr-xr-x | packaging/libomxil-e7270-v4l2.spec | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/openmax/osal/Exynos_OSAL_ETC.c b/openmax/osal/Exynos_OSAL_ETC.c index 49da02b..088a2d9 100755 --- a/openmax/osal/Exynos_OSAL_ETC.c +++ b/openmax/osal/Exynos_OSAL_ETC.c @@ -66,7 +66,7 @@ size_t Exynos_OSAL_Strcpy(OMX_PTR dest, OMX_PTR src) return strlcpy(dest, src, len); #else - return strlen(strncpy(dest, src, strlen((const char *)src))); + return strlen(strncpy(dest, src, strlen((const char *)src) + 1)); #endif } diff --git a/packaging/libomxil-e7270-v4l2.spec b/packaging/libomxil-e7270-v4l2.spec index 93fbab6..bfbb14c 100755 --- a/packaging/libomxil-e7270-v4l2.spec +++ b/packaging/libomxil-e7270-v4l2.spec @@ -3,7 +3,7 @@ Summary: OpenMAX IL for e7270-v4l2 Version: 0.0.1 License: Apache-2.0 Group: Development/Libraries -Release: 2 +Release: 3 ExclusiveArch: %arm Source: %{name}-%{version}.tar.gz Requires(post): /sbin/ldconfig |