Re: [PATCH] Connection: Check gateway_hash value before call update_order()

2011-02-22 Thread Marcel Holtmann
Hi Martin, > When exit from ConnMan, __connman_connection_cleanup() is called > before __connman_service_cleanup() which then calls update_order(). > __connman_connection_cleanup() sets gateway_hash as NULL, so update_order() > will access NULL hash and causes GLib-CRITICAL abort > --- > src/conn

[PATCH] Connection: Check gateway_hash value before call update_order()

2011-02-21 Thread martin . xu
From: Martin Xu When exit from ConnMan, __connman_connection_cleanup() is called before __connman_service_cleanup() which then calls update_order(). __connman_connection_cleanup() sets gateway_hash as NULL, so update_order() will access NULL hash and causes GLib-CRITICAL abort --- src/connection