[vlc-devel] Re: Threads and memory corruption
Christophe Massiot
massiot at via.ecp.fr
Fri Feb 17 17:55:05 CET 2006
On Fri, Feb 17, 2006, Olivier Aubert wrote:
> > 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.
How much time have you spent on this one ? :)
--
Christophe Massiot.
--
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