Module: kamailio
Branch: 4.3
Commit: 5e0057325baaef72e15f04c1ac6762294a4b12a7
URL:
https://github.com/kamailio/kamailio/commit/5e0057325baaef72e15f04c1ac67622…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2017-02-15T13:02:39+01:00
sanity: reset proxy_require hdr parsed field after freeing
(cherry picked from commit 06e219158131c2397a96bf5d3373c96752d7fd20)
(cherry picked from commit 51949e50e0308c9ec41cd95bfe2be3d64e24802d)
(cherry picked from commit 4844facff6b6ae66d7d1d9abd3c45bd470d5dfdc)
---
Modified: modules/sanity/sanity.c
---
Diff:
https://github.com/kamailio/kamailio/commit/5e0057325baaef72e15f04c1ac67622…
Patch:
https://github.com/kamailio/kamailio/commit/5e0057325baaef72e15f04c1ac67622…
---
diff --git a/modules/sanity/sanity.c b/modules/sanity/sanity.c
index 8140c07..5812190 100644
--- a/modules/sanity/sanity.c
+++ b/modules/sanity/sanity.c
@@ -724,6 +724,7 @@ int check_proxy_require(struct sip_msg* _msg) {
* freed when the message freed. Lets hope nobody needs to access
* this header again later on */
free_str_list(_msg->proxy_require->parsed);
+ _msg->proxy_require->parsed = NULL;
}
}
#ifdef EXTRA_DEBUG