From 30fa89e008343367dce8b16d6bdd479070416d8a Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Fri, 15 Jan 2016 11:26:30 -0600 Subject: [PATCH] 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 --- src/include/switch_rtp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {