
In cm_allocate_and_copy_ies_and_keys instead of target's pointer source's pointers are reset thus making the following code void Fix this by resetting the target pointers which needs to be allocated with new memory. Change-Id: I4417492c43eb27833d365ec4aa644e07ed4eca51 CRs-fixed: 2884187