FS-10352 #resolve fix size doesn't match causing segs when casts to switch_rtp_packet_t

This commit is contained in:
Seven Du 2017-05-29 17:48:41 +08:00
parent 84ec92048a
commit b79fd1f14f
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ static switch_hash_t *alloc_hash = NULL;
typedef struct {
srtp_hdr_t header;
char body[SWITCH_RTP_MAX_BUF_LEN];
char body[SWITCH_RTP_MAX_BUF_LEN+4+sizeof(char *)];
switch_rtp_hdr_ext_t *ext;
char *ebody;
} rtp_msg_t;