kernel/messaging : Fix copy size and add '\0' to the end of string
kernel/messaging : Fix copy size and add '\0' to the end of string

Fix string copy size and add '\0' to the end of string array for security issue.

junmin-kim/TizenRT,pillip8282/TizenRT,Samsung/TizenRT,jeongarmy/TizenRT,jeongchanKim/TizenRT,junmin-kim/TizenRT,jsdosa/TizenRT,sunghan-chang/TizenRT,pillip8282/TizenRT,pillip8282/TizenRT,Samsung/TizenRT,Samsung/TizenRT,Samsung/TizenRT,pillip8282/TizenRT,jeongchanKim/TizenRT,jeongarmy/TizenRT,an4967/TizenRT,jeongchanKim/TizenRT,junmin-kim/TizenRT,pillip8282/TizenRT,Samsung/TizenRT,jsdosa/TizenRT,an4967/TizenRT,jeongarmy/TizenRT,an4967/TizenRT,sunghan-chang/TizenRT,Samsung/TizenRT,jsdosa/TizenRT,jeongarmy/TizenRT,sunghan-chang/TizenRT,an4967/TizenRT,an4967/TizenRT,jsdosa/TizenRT,jeongchanKim/TizenRT,Samsung/TizenRT,jsdosa/TizenRT,jeongarmy/TizenRT,junmin-kim/TizenRT,junmin-kim/TizenRT,an4967/TizenRT,jsdosa/TizenRT,jeongarmy/TizenRT,sunghan-chang/TizenRT,jeongarmy/TizenRT,jeongchanKim/TizenRT,pillip8282/TizenRT,jsdosa/TizenRT,junmin-kim/TizenRT,sunghan-chang/TizenRT,an4967/TizenRT,sunghan-chang/TizenRT,junmin-kim/TizenRT,pillip8282/TizenRT,jeongchanKim/TizenRT,jeongchanKim/TizenRT,sunghan-chang/TizenRT