Commit 4c60ee77 authored by Dong Anyuan's avatar Dong Anyuan

Remove Coverity Scan CID 60471 (Function memory_read does not terminate string...

Remove Coverity Scan CID 60471 (Function memory_read does not terminate string *user->nas_user_nvdata.)
parent 0e2406f0
...@@ -161,8 +161,6 @@ void nas_user_initialize(nas_user_t *user, emm_indication_callback_t emm_cb, ...@@ -161,8 +161,6 @@ void nas_user_initialize(nas_user_t *user, emm_indication_callback_t emm_cb,
user->nas_user_nvdata = calloc_or_fail(sizeof(user_nvdata_t)); user->nas_user_nvdata = calloc_or_fail(sizeof(user_nvdata_t));
memset(user->nas_user_nvdata, 0, sizeof(user_nvdata_t));
/* Get UE data stored in the non-volatile memory device */ /* Get UE data stored in the non-volatile memory device */
int rc = memory_read(user->user_nvdata_store, user->nas_user_nvdata, sizeof(user_nvdata_t)); int rc = memory_read(user->user_nvdata_store, user->nas_user_nvdata, sizeof(user_nvdata_t));
if (rc != RETURNok) { if (rc != RETURNok) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment