summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Tarasikov <alexander.tarasikov@gmail.com>2012-07-13 16:45:12 +0400
committerAlexander Tarasikov <alexander.tarasikov@gmail.com>2012-07-13 16:45:12 +0400
commitf983cff792b4e4e0c8a67ef1556173af321c3126 (patch)
treef23859c3d96e7ce3b92e39b35b5e5eab4e56988f
parent697e533e23e237cfba07b7054f5e4ab29e4227e2 (diff)
downloadhardware_ril_samsung-ril-f983cff792b4e4e0c8a67ef1556173af321c3126.zip
hardware_ril_samsung-ril-f983cff792b4e4e0c8a67ef1556173af321c3126.tar.gz
hardware_ril_samsung-ril-f983cff792b4e4e0c8a67ef1556173af321c3126.tar.bz2
Fix ussd message corruption
-rw-r--r--ss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ss.c b/ss.c
index eb6b441..3913afd 100644
--- a/ss.c
+++ b/ss.c
@@ -179,7 +179,7 @@ void ipc_ss_ussd(struct ipc_message_info *info)
struct ipc_ss_ussd *ussd = NULL;
unsigned char state;
- memset(message, 0, sizeof(message) / sizeof(char *));
+ memset(message, 0, sizeof(message));
ussd = (struct ipc_ss_ussd *) info->data;