]> git.ipfire.org Git - thirdparty/vala.git/commit
gdbus: Handle errors when extracting fds from dbus messages
authorCarlos Garnacho <carlosg@gnome.org>
Sun, 12 Feb 2017 22:10:05 +0000 (23:10 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Mon, 13 Feb 2017 11:41:19 +0000 (12:41 +0100)
commit11c843e980a4f45bd058863ab4397dcc27fb2b52
treecdbd194f2b48b8f8769df2585ed17a9c3f19f987
parent09e6818d01eaa14cbce7bac12abe521c46d92893
gdbus: Handle errors when extracting fds from dbus messages

On the right situations (eg. fd exhaustion), both
g_dbus_message_get_unix_fd_list() and g_unix_fd_list_get() should be
considered failable here. Add proper error handling to avoid triggering
glib warnings.

https://bugzilla.gnome.org/show_bug.cgi?id=778540
codegen/valagdbusclientmodule.vala
codegen/valagdbusmodule.vala
codegen/valagdbusservermodule.vala