(cherry picked from commit 2b12754920704f49cd227c518e130cef4d76ea7d)
... | ... |
@@ -739,10 +739,10 @@ void uac_send_tm_callback(struct cell *t, int type, struct tmcb_params *ps) |
739 | 739 |
goto error; |
740 | 740 |
} |
741 | 741 |
|
742 |
+ memset(&cred, 0, sizeof(struct uac_credential)); |
|
742 | 743 |
cred.realm = auth.realm; |
743 | 744 |
cred.user = tp->s_auser; |
744 | 745 |
cred.passwd = tp->s_apasswd; |
745 |
- cred.next = NULL; |
|
746 | 746 |
|
747 | 747 |
do_uac_auth(&tp->s_method, &tp->s_ruri, &cred, &auth, response); |
748 | 748 |
new_auth_hdr=build_authorization_hdr(ps->code, &tp->s_ruri, &cred, |