[devel] [PATCH 4/5] imm: fix access uninitialised value [#3326]

2022-12-13 Thread thien.m.huynh
--- src/imm/immnd/immnd_evt.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/imm/immnd/immnd_evt.c b/src/imm/immnd/immnd_evt.c index 2578d7d7a..99e9452ef 100644 --- a/src/imm/immnd/immnd_evt.c +++ b/src/imm/immnd/immnd_evt.c @@ -3351,6 +3351,7 @@ static uint32_t immnd_ev

[devel] [PATCH 5/5] log: fix access uninitialised value [#3326]

2022-12-13 Thread thien.m.huynh
Struct SaVersionT has only 24bit but using encode 32bit. Solution is encode each 8bit releaseCode, majorCode, minorCode by using ncs_edp_saversiont. And encode one more 8bit to keep backward compatible. --- src/log/logd/lgs_mbcsv_v6.cc | 15 ++- src/log/logd/lgs_mbcsv_v6.h | 1 + 2

[devel] [PATCH 1/5] clm: fix access uninitialised value [#3326]

2022-12-13 Thread thien.m.huynh
--- src/clm/clmd/clms_evt.cc | 3 +++ src/clm/clmd/clms_imm.cc | 3 +++ 2 files changed, 6 insertions(+) diff --git a/src/clm/clmd/clms_evt.cc b/src/clm/clmd/clms_evt.cc index 45450e70e..83fe76a1a 100644 --- a/src/clm/clmd/clms_evt.cc +++ b/src/clm/clmd/clms_evt.cc @@ -1849,10 +1849,13 @@ static

[devel] [PATCH 3/5] ntf: fix access uninitialised value [#3326]

2022-12-13 Thread thien.m.huynh
struct ntfsv_read_next_req_t has only 9 bytes but reserve space take up 10 bytes. solution is add a valid byte into uba space. --- src/ntf/common/ntfsv_enc_dec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ntf/common/ntfsv_enc_dec.c b/src/ntf/common/ntfsv_enc_dec.c index 5cecabf01..7a

[devel] [PATCH 0/5] Review Request for fix access uninitialised value

2022-12-13 Thread thien.m.huynh
Summary: clm: fix access uninitialised value [#3326] Review request for Ticket(s): 3326 Peer Reviewer(s): Thang, Hieu Pull request to: *** LIST THE PERSON WITH PUSH ACCESS HERE *** Affected branch(es): develop Development branch: ticket-3326 Base revision: 2021d0c035d2989267ee8d0d8d826ddf53fc3201 P

[devel] [PATCH 2/5] mbc: fix access uninitialised value [#3326]

2022-12-13 Thread thien.m.huynh
--- src/mbc/mbcsv_act.c | 2 ++ src/mbc/mbcsv_api.c | 4 src/mbc/mbcsv_tmr.c | 1 + src/mbc/mbcsv_util.c | 6 ++ 4 files changed, 13 insertions(+) diff --git a/src/mbc/mbcsv_act.c b/src/mbc/mbcsv_act.c index ae0e8e539..690b7ea35 100644 --- a/src/mbc/mbcsv_act.c +++ b/src/mbc/mbcsv_act