[vlc-devel] commit: A few sprintf()+n in text/strings.c (JP Dinger )

jpd at videolan.org jpd at videolan.org
Sat May 30 23:01:19 CEST 2009

On Sat, May 30, 2009 at 10:43:07PM +0200, Laurent Aimar wrote:
> When the variable is a local array, I think it's way safer in the long
> term to use sizeof(variable). If you don't like that, then a const
> variable holding the size is still better than a hardcoded size IMHO.

Of course. I was being lazy and perhaps that whole thing needs rethinking.

More information about the vlc-devel mailing list