summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gsm/ipa.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gsm/ipa.c b/src/gsm/ipa.c
index 01bd0c58..2c0880ae 100644
--- a/src/gsm/ipa.c
+++ b/src/gsm/ipa.c
@@ -302,6 +302,8 @@ struct msgb *ipa_ccm_make_id_resp_from_req(const struct ipaccess_unit *dev,
unsigned int num_ies = 0;
const uint8_t *cur = data;
+ memset(ies, 0, sizeof(ies));
+
/* build a array of the IEIs */
while (len >= 2) {
uint8_t t_len, t_tag;