Code Review
/
o-du
/
l2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Fix for memory leak in UL data path at cu_stub [Issue-ID: ODUHIGH-398]"
[o-du/l2.git]
/
src
/
du_app
/
du_sys_info_hdl.c
diff --git
a/src/du_app/du_sys_info_hdl.c
b/src/du_app/du_sys_info_hdl.c
index
4974325
..
ecf04e7
100644
(file)
--- a/
src/du_app/du_sys_info_hdl.c
+++ b/
src/du_app/du_sys_info_hdl.c
@@
-337,8
+337,9
@@
uint8_t BuildCellIdentity(CellIdentity_t *cellIdentity)
{
DU_LOG("\nERROR --> DU APP: CellIdentity memory allocation failure");
return RFAILED;
{
DU_LOG("\nERROR --> DU APP: CellIdentity memory allocation failure");
return RFAILED;
- }
- *cellIdentity->buf = duCfgParam.sib1Params.cellIdentity;
+ }
+ memset(cellIdentity->buf, 0, cellIdentity->size);
+ cellIdentity->buf[4] = duCfgParam.sib1Params.cellIdentity;
return ROK;
}
return ROK;
}