[merged]
1.MT2735_MP1_MR1.0 merged,without MR1.0-dpramk

Change-Id: I652723435ec940ee8c0b9bc6ff2d6e80557a0429
diff --git a/framework/lynq-ril-service/src/ril.cpp b/framework/lynq-ril-service/src/ril.cpp
index 4e6b97f..268c852 100755
--- a/framework/lynq-ril-service/src/ril.cpp
+++ b/framework/lynq-ril-service/src/ril.cpp
@@ -1,3 +1,4 @@
+//SPDX-License-Identifier: MediaTekProprietary
 /*
 **
 ** Copyright 2006, The Android Open Source Project
@@ -6607,7 +6608,7 @@
 
 #ifdef MEMSET_FREED
     memsetString(eCallReqMsg.address);
-    memset(eCallReqMsg.msd_data, 0, eCallReqMsg.length);
+    memset(eCallReqMsg.msd_data, 0, digitLimit);
 #endif
 
     free(eCallReqMsg.address);