Pārlūkot izejas kodu

Do not clone sip_msg->body into shared memory

Jan Janak 16 gadi atpakaļ
vecāks
revīzija
fc9cfc98af
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      modules/tm/sip_msg.c

+ 1 - 0
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;