[vlc-devel] [PATCH 6/6] aout: fix user after free

Hannes Domani ssbssa at yahoo.de
Thu Aug 27 18:24:31 CEST 2015


Rémi Denis-Courmont <remi at remlab.net> schrieb am 18:00 Donnerstag, 27.August 2015:
> It's "use", not "user".

Sorry about that.

> But where is it anyway?

In aout_GainNotify() is this call:
    aout_volume_SetVolume (owner->volume, gain);

Before playing a track, owner->volume is NULL (which is checked in aout_volume_SetVolume()).
But after playing finished, when changing the volume, the free()'d value is used.


More information about the vlc-devel mailing list