[vlc-devel] [vlc-commits] commit: imem: don't pass data pointer through MRL either ( Rémi Denis-Courmont )
fenrir at via.ecp.fr
Tue Apr 6 20:29:31 CEST 2010
On Tue, Apr 06, 2010 at 03:04:34PM +0200, Hugo Beauzee-Luyssen wrote:
> On Tue, Mar 30, 2010 at 1:39 PM, <git at videolan.org> wrote:
> > vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Mar 30 14:39:11 2010 +0300| [82169ba60565fd24e51fa0aeb03cc89447f141ad] | committer: Rémi Denis-Courmont
> > imem: don't pass data pointer through MRL either
> This avoid settings one data parameter per input/input-slave, which
> seems like a problem, at least for VLMC.
> Is there any plan on fixing this ?
The next commits fixes that in a safer way.
You have to set one unique data per input, and then you can set through the
mrl a cookie (a string). It's then up to you to properly store a
cookie<->data_per_es mapping inside the global data pointer. You need to be
robust against invalid cookie to avoid security risks.
More information about the vlc-devel