소스 검색

Do not clone sip_msg->body into shared memory

Jan Janak 16 년 전
부모
커밋
fc9cfc98af
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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;