[MPlayer-dev-eng] [PATCH 6/7] stream ftp: Allocate command buffer on-heap

Reimar Döffinger Reimar.Doeffinger at gmx.de
Mon Nov 12 20:40:09 CET 2012


On Sun, Nov 11, 2012 at 10:01:41PM +0100, Alexander Strasser wrote:
> +    snprintf(p->cmd_buf,CMD_BUFSIZE - 1,"REST %"PRId64, (int64_t)newpos);

There should be no -1 for the size argument (same for all other
snprintfs).


More information about the MPlayer-dev-eng mailing list