修复PDU编码输出短信出现乱码情况

Change-Id: I60107ff12ce66ae681b879b9515a74f2b047713e
diff --git a/mbtk/libmbtk_lib/ril/mbtk_pdu_sms.c b/mbtk/libmbtk_lib/ril/mbtk_pdu_sms.c
index c00a924..b2a05b0 100755
--- a/mbtk/libmbtk_lib/ril/mbtk_pdu_sms.c
+++ b/mbtk/libmbtk_lib/ril/mbtk_pdu_sms.c
@@ -897,7 +897,7 @@
 }

 

 char *UDEncoding(char *UD, struct UDHS *udhs, enum EnumDCS DCS) {

-    int UDHL;

+    int UDHL = 0;

 

     char *result;

 

@@ -911,7 +911,7 @@
     body = UDCEncoding(UD, &UDCL, UDHL, DCS);

 

     // 用户数据区长度

-    int UDL;

+    int UDL = 0;

     if (DCS == BIT7) {

         // 7-Bit编码

         UDL = (UDHL * 8 + 6) / 7 + UDCL;