]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-8713 #resolve [crash on bad video rtp stream] #comment Pushed a patch to make...
authorAnthony Minessale <anthm@freeswitch.org>
Fri, 15 Jan 2016 17:26:30 +0000 (11:26 -0600)
committerAnthony Minessale <anthm@freeswitch.org>
Fri, 15 Jan 2016 17:26:30 +0000 (11:26 -0600)
src/include/switch_rtp.h

index 3fdd1ed325d18a04c19eade4181b523d827c8541..f222ce028c94e5d9aaf31d702b6c960c32e6b2fc 100644 (file)
@@ -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 {