aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--samsung-ipc/sec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/samsung-ipc/sec.c b/samsung-ipc/sec.c
index 1570836..ae23cb8 100644
--- a/samsung-ipc/sec.c
+++ b/samsung-ipc/sec.c
@@ -92,6 +92,7 @@ int ipc_sec_change_locking_pw_setup(struct ipc_sec_change_locking_pw_data *data,
if (data == NULL)
return -1;
+ memset(data, 0, sizeof(struct ipc_sec_change_locking_pw_data));
data->facility_type = facility_type;
if (password_old != NULL) {