Module: sip-router
Branch: master
Commit: fc9cfc98af91092de9e12533c255778080b045dd
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=fc9cfc9…
Author: Jan Janak <jan(a)iptel.org>
Committer: Jan Janak <jan(a)iptel.org>
Date: Tue Mar 24 20:48:44 2009 +0100
Do not clone sip_msg->body into shared memory
---
modules/tm/sip_msg.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/modules/tm/sip_msg.c b/modules/tm/sip_msg.c
index 90a3fa1..0ebbda4 100644
--- a/modules/tm/sip_msg.c
+++ b/modules/tm/sip_msg.c
@@ -524,6 +524,7 @@ struct sip_msg* sip_msg_cloner( struct sip_msg *org_msg, int
*sip_msg_len )
new_msg->msg_flags |= FL_SHM_CLONE;
p += ROUND4(sizeof(struct sip_msg));
+ new_msg->body = 0;
new_msg->add_rm = 0;
new_msg->body_lumps = 0;
new_msg->reply_lump = 0;