Module: kamailio Branch: 5.2 Commit: 2c00d15ddb48436827fba7d1d3a0c5ae3ec3e864 URL: https://github.com/kamailio/kamailio/commit/2c00d15ddb48436827fba7d1d3a0c5ae3ec3e864
Author: Daniel-Constantin Mierla <[email protected]> Committer: Henning Westerholt <[email protected]> Date: 2020-01-23T15:21:30+01:00 uac: reset credentials structure for uac_req_send() authentication (cherry picked from commit 2b12754920704f49cd227c518e130cef4d76ea7d) --- Modified: src/modules/uac/uac_send.c --- Diff: https://github.com/kamailio/kamailio/commit/2c00d15ddb48436827fba7d1d3a0c5ae3ec3e864.diff Patch: https://github.com/kamailio/kamailio/commit/2c00d15ddb48436827fba7d1d3a0c5ae3ec3e864.patch --- diff --git a/src/modules/uac/uac_send.c b/src/modules/uac/uac_send.c index 1d939dc815..d66af2deb8 100644 --- a/src/modules/uac/uac_send.c +++ b/src/modules/uac/uac_send.c @@ -738,10 +738,10 @@ void uac_send_tm_callback(struct cell *t, int type, struct tmcb_params *ps) goto error; } + memset(&cred, 0, sizeof(struct uac_credential)); cred.realm = auth.realm; cred.user = tp->s_auser; cred.passwd = tp->s_apasswd; - cred.next = NULL; do_uac_auth(&tp->s_method, &tp->s_ruri, &cred, &auth, response); new_auth_hdr=build_authorization_hdr(ps->code, &tp->s_ruri, &cred, _______________________________________________ Kamailio (SER) - Development Mailing List [email protected] https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
