On Tue, Nov 11, 2008 at 6:01 PM, Michael Niedermayer <michaelni@gmx.at>wrote:
On Mon, Nov 10, 2008 at 03:01:50PM +0300, Ruslan Savchenko wrote:
On Mon, Nov 10, 2008 at 11:43 AM, Attila Kinali <attila@kinali.ch> wrote:
On Sun, 9 Nov 2008 22:03:07 +0300 "Ruslan Savchenko" <ruslan.savchenko@gmail.com> wrote: [...]
+ priv->fname = malloc(strlen(priv->fnamebase) + strlen(tstamp) + 8); + sprintf(priv->fname, "%s.[%s].png", priv->fnamebase, tstamp);
interger oveflows leading to segfaults or exploits
priv->filename and tstamp occupied the whole address space? I don't believe it. Maybe I misunderstand you?
besides these, i seriously douubt all the *alloc() in this patch is needed <https://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng>
Use fixed-length array? What length? Thank you very much for comments. Attached new patch (merged it with the patch for mencoder). -- Regards, Ruslan