[vlc-devel] Re: Threads and memory corruption
Olivier Aubert
oaubert at lisi.univ-lyon1.fr
Fri Feb 17 17:53:13 CET 2006
> I am not sure if this is at all related, and I won't test, but you have
> an allocation bug in mediacontrol_init.c :
> ppsz_argv = malloc( i_count + 2 );
> Don't you mean (i_count + 2) * sizeof(char *) ? This could account for a
> lot of things.
Nicely spotted. Quite obvious, once you think to at this line. It seems
to solve the stability problems.
Thanks a lot.
Olivier
--
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
More information about the vlc-devel
mailing list