[pulseaudio-discuss] [PATCH] zeroconf-publish: Don't assume any particular defer event ordering

Tanu Kaskinen tanu.kaskinen at linux.intel.com
Fri Mar 28 06:08:59 PDT 2014


On Wed, 2014-03-19 at 09:50 +0200, Tanu Kaskinen wrote:
> Also, initialize userdata with zeros to avoid invalid pointers in
> client_free().
> 
> This fixes a crash when client_free() is called before
> create_client(). The whole issue could be avoided by using some other
> mechanism than defer events for running the two functions, but I'll
> do that change later (I have also other cleanups planned for
> zeroconf-publish).
> 
> BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=76184
> ---
>  src/modules/module-zeroconf-publish.c | 19 +++++++++++++++----
>  1 file changed, 15 insertions(+), 4 deletions(-)

I pushed this now.

-- 
Tanu



More information about the pulseaudio-discuss mailing list