[Bug 1122596] Re: Race condition in app_indicator_init() causes application crash

2013-02-14 Thread John Vert
** Description changed: app_indicator_init() in app-indicator.c calls g_bus_get() before setting self->priv. This creates a race condition where the bus_creation() callback can execute while self->priv still contains garbage. Suggested fix is to set self->priv before calling g_bus_get().

[Bug 1122596] [NEW] Race condition in app_indicator_init() causes application crash

2013-02-11 Thread John Vert
Public bug reported: app_indicator_init() in app-indicator.c calls g_bus_get() before setting self->priv. This creates a race condition where the bus_creation() callback can execute while self->priv still contains garbage. Suggested fix is to set self->priv before calling g_bus_get(). diff -ruN l