Przeglądaj źródła

Do not clone sip_msg->body into shared memory

Jan Janak 16 lat temu
rodzic
commit
fc9cfc98af
1 zmienionych plików z 1 dodań i 0 usunięć
  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;