From: Anthony Minessale Date: Fri, 15 Jan 2016 17:26:30 +0000 (-0600) Subject: FS-8713 #resolve [crash on bad video rtp stream] #comment Pushed a patch to make... X-Git-Tag: v1.6.7~2^2~149 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30fa89e008343367dce8b16d6bdd479070416d8a;p=thirdparty%2Ffreeswitch.git FS-8713 #resolve [crash on bad video rtp stream] #comment Pushed a patch to make the sizes match. This was the original intention since we want to preserve the packet as-is while in the jb --- diff --git a/src/include/switch_rtp.h b/src/include/switch_rtp.h index 3fdd1ed325..f222ce028c 100644 --- a/src/include/switch_rtp.h +++ b/src/include/switch_rtp.h @@ -51,7 +51,7 @@ SWITCH_BEGIN_EXTERN_C typedef struct { switch_rtp_hdr_t header; - char body[SWITCH_RTP_MAX_BUF_LEN]; + char body[SWITCH_RTP_MAX_BUF_LEN+4+sizeof(char *)]; } switch_rtp_packet_t; typedef enum {