Hi Thang,
OK, will move it up before push.
Best Regards,
ThuanTr
-Original Message-
From: Thang Duc Nguyen
Sent: Monday, May 18, 2020 11:34 AM
To: Thuan Tran ; Minh Hon Chau
Cc: opensaf-devel@lists.sourceforge.net
Subject: RE: [PATCH 1/1] osaf: fix coding issue identified by codechec
Hi Thuan,
Just a minor comment.
Instead of adding asset() below
size = (size + 3) & ~3;
It's better to move it to above.
B.R/Thang
-Original Message-
From: Thuan Tran
Sent: Monday, May 18, 2020 11:15 AM
To: Thang Duc Nguyen ; Minh Hon Chau
Cc: opensaf-devel@lists.sourceforge.n
---
src/osaf/immutil/immutil.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/osaf/immutil/immutil.c b/src/osaf/immutil/immutil.c
index e10a8ffdf..4ad7a8fe8 100644
--- a/src/osaf/immutil/immutil.c
+++ b/src/osaf/immutil/immutil.c
@@ -1048,6 +1048,7 @@ static void *clistMalloc(struct Chunk