[rtmpdump] [PATCH] rtmpsrv crashes when playpath is too long

compn tempn at twmi.rr.com
Sat Oct 8 04:05:44 CEST 2011


On Sat, 8 Oct 2011 00:54:06 +0530 (IST), KSV wrote:
>-  char pbuf[512], *pend = pbuf+sizeof(pbuf);
>+  char pbuf[1024], *pend = pbuf+sizeof(pbuf);
>-  char pbuf[512], *pend = pbuf+sizeof(pbuf);
>+  char pbuf[1024], *pend = pbuf+sizeof(pbuf);

is 1024 big enough? why not 2048 while you are at it?


More information about the rtmpdump mailing list