diff options
-rw-r--r-- | packages/ti/ipc/tests/test_omx.c | 2 |
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", |