diff options
-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 |