Skip to content

Commit

Permalink
auth_aka: fix compile error for uninitialized var
Browse files Browse the repository at this point in the history
  • Loading branch information
razvancrainea committed Sep 6, 2024
1 parent 3092ec2 commit c59bbd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/auth_aka/auth_aka.c
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,7 @@ static int aka_send_resp(struct sip_msg *_msg, str *realm, struct aka_user *user
{
int ret = -1;
int nalgs, c;
str auth_hfs[LAST_ALG_SPTD - FIRST_ALG_SPTD + 1];
str auth_hfs[LAST_ALG_SPTD - FIRST_ALG_SPTD + 1] = {0};

for (nalgs = 0; nalgs < count; nalgs++) {
auth_hfs[nalgs].s = build_aka_auth_hf(avs[nalgs], realm, qop,
Expand Down

0 comments on commit c59bbd3

Please sign in to comment.