From b7c04de9270ec5a95fe3fd14a22e5c8726391cda Mon Sep 17 00:00:00 2001 From: Dong Anyuan <donganyuan@cn.fujitsu.com> Date: Thu, 20 Jun 2019 12:42:05 +0900 Subject: [PATCH] Fix Coverity Scan CID 21842 (Using uninitialized value data_req. Field data_req.ue_id_type_indicator is uninitialized.) --- openair2/LAYER2/RLC/TM_v9.3.0/rlc_tm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/openair2/LAYER2/RLC/TM_v9.3.0/rlc_tm.c b/openair2/LAYER2/RLC/TM_v9.3.0/rlc_tm.c index bdb997b12e..e481550a46 100644 --- a/openair2/LAYER2/RLC/TM_v9.3.0/rlc_tm.c +++ b/openair2/LAYER2/RLC/TM_v9.3.0/rlc_tm.c @@ -186,6 +186,7 @@ rlc_tm_mac_data_request ( PROTOCOL_RLC_TM_CTXT_ARGS(ctxt_pP, rlc_p), data_req.data.nb_elements); } + data_req.ue_id_type_indicator = 0; return data_req; } -- GitLab