[vlc-devel] [VLC] #2366: realloc is generally used incorrectly

jpd at m2x.nl jpd at m2x.nl
Mon May 25 11:10:49 CEST 2009

On Sun, May 24, 2009 at 09:17:42AM -0000, VLC wrote:
>  This is not simple.
>  The request is essential for the web plugins (so I CC: jp* :) )

The only thing that uses realloc() in the plugin (and it really should not
in the first place) is the bit that Does Stuff to argument parsing, which
has changed from necessairy to superfluous with moving away from

Changing is probably less hard than it looks if you look at the input and
output requirements, ignoring the middle. Some architectural changes will
be needed, though.

I can't look at it now so patches are welcome.

More information about the vlc-devel mailing list