summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Nelson <sam.nelson@ti.com>2019-10-09 13:41:13 -0400
committerSam Nelson <sam.nelson@ti.com>2019-10-09 13:41:57 -0400
commit9d26f80f2d7bf85d46e431a3a9ec85d3dfbc74dd (patch)
tree8a34ef429aa50644c10cd1a0d485f73d61061de6
parent17564ad07f9f3cd4ed4160042a2577d9594faae1 (diff)
downloadipc-9d26f80f2d7bf85d46e431a3a9ec85d3dfbc74dd.tar.gz
test_omx: Update not to fill the whole buffer3.50.04.07A
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
-rw-r--r--packages/ti/ipc/tests/test_omx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/ti/ipc/tests/test_omx.c b/packages/ti/ipc/tests/test_omx.c
index 5c0f621..9f2553f 100644
--- a/packages/ti/ipc/tests/test_omx.c
+++ b/packages/ti/ipc/tests/test_omx.c
@@ -168,7 +168,7 @@ static RPC_OMX_ERRORTYPE RPC_SKEL_GetHandle(Void *srvc, UInt32 size,
*/
strncpy(cComponentName, (char *)((UArg)data + sizeof(map_info_type)),
- sizeof(cComponentName));
+ sizeof(cComponentName)-1);
#if CHATTER
System_printf("RPC_SKEL_GetHandle: Component Name received: %s\n",