Ticket #360 (new defect)

Opened 5 months ago

segfault caused by invocation of g_object_unref(G_OBJECT(cursor)) in response_callback(..), avahi-ui.c

Reported by: Vaxeij8e Owned by: lennart
Milestone: Component: avahi-ui
Keywords: Cc:

Description

When running mango-lassi in Ubuntu 11.10, following line in avahi-ui.c, in function response_callback causes segfault:

g_object_unref(G_OBJECT(cursor))

Since cursors have their own unref functions, I replaced it:

gdk_cursor_unref(cursor);

With this fix in place no segfault occurs, and mango-lassi works as expected.

Attachments

avahi.patch Download (0.6 KB) - added by Vaxeij8e 5 months ago.
0001-prevent-segfault.patch Download (0.9 KB) - added by Vaxeij8e 5 months ago.
patch created per git-format-patch

Change History

Changed 5 months ago by Vaxeij8e

Changed 5 months ago by Vaxeij8e

patch created per git-format-patch

Note: See TracTickets for help on using tickets.