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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux