gio: fix race condition in GDBusObjectManagerClient 31/199531/2
authorBeniamino Galvani <bgalvani@redhat.com>
Sat, 30 Sep 2017 09:26:29 +0000 (11:26 +0200)
committerHyotaek Shim <hyotaek.shim@samsung.com>
Tue, 26 Feb 2019 02:30:40 +0000 (02:30 +0000)
commit639993312f5f26f998687b6ca623e1b246ebc935
treec67bad46891daf334a55dc8519ec3e7b76b51337
parentfbafb7059b369a3becd5891c75d6172ae5118ea5
gio: fix race condition in GDBusObjectManagerClient

priv->map_object_path_to_object_proxy must be protected to avoid
concurrent access by multiple threads. Move the hash table insertion
into the critical section.

https://bugzilla.gnome.org/show_bug.cgi?id=788368

Change-Id: I0fc7b7ab9edea681cc71b3c36cc0b5cebb6a1cf8
gio/gdbusobjectmanagerclient.c