Module: kamailio
Branch: 5.0
Commit: 51949e50e0308c9ec41cd95bfe2be3d64e24802d
URL:
https://github.com/kamailio/kamailio/commit/51949e50e0308c9ec41cd95bfe2be3d…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2017-02-15T12:56:01+01:00
sanity: reset proxy_require hdr parsed field after freeing
(cherry picked from commit 06e219158131c2397a96bf5d3373c96752d7fd20)
---
Modified: src/modules/sanity/sanity.c
---
Diff:
https://github.com/kamailio/kamailio/commit/51949e50e0308c9ec41cd95bfe2be3d…
Patch:
https://github.com/kamailio/kamailio/commit/51949e50e0308c9ec41cd95bfe2be3d…
---
diff --git a/src/modules/sanity/sanity.c b/src/modules/sanity/sanity.c
index 9a791c1..0ab5792 100644
--- a/src/modules/sanity/sanity.c
+++ b/src/modules/sanity/sanity.c
@@ -704,6 +704,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