Module: kamailio Branch: master Commit: 432b38bb0b50b683360743cfbb013e4865c426e4 URL: https://github.com/kamailio/kamailio/commit/432b38bb0b50b683360743cfbb013e4865c426e4
Author: Federico Cabiddu <[email protected]> Committer: GitHub <[email protected]> Date: 2017-12-06T17:18:47+01:00 Merge pull request #1348 from grumvalski/local_request_crash tm: make t_run_local_req reentrant --- Modified: src/modules/tm/uac.c --- Diff: https://github.com/kamailio/kamailio/commit/432b38bb0b50b683360743cfbb013e4865c426e4.diff Patch: https://github.com/kamailio/kamailio/commit/432b38bb0b50b683360743cfbb013e4865c426e4.patch --- diff --git a/src/modules/tm/uac.c b/src/modules/tm/uac.c index dddeb0aa34..7b78a609b3 100644 --- a/src/modules/tm/uac.c +++ b/src/modules/tm/uac.c @@ -221,7 +221,7 @@ static inline int t_run_local_req( uac_req_t *uac_r, struct cell *new_cell, struct retr_buf *request) { - static struct sip_msg lreq; + struct sip_msg lreq = {0}; struct onsend_info onsnd_info; tm_xlinks_t backup_xd; int sflag_bk; _______________________________________________ Kamailio (SER) - Development Mailing List [email protected] https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
