[at-spi2-core] Bus launcher: escape socket name before passing to dbus-daemon
- From: Mike Gorse <mgorse src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [at-spi2-core] Bus launcher: escape socket name before passing to dbus-daemon
- Date: Tue, 4 Jan 2022 17:02:38 +0000 (UTC)
commit 7e4ba09e67d15e3ff8f84a473400f66d50a56799
Author: Mike Gorse <mgorse suse com>
Date: Tue Jan 4 11:02:35 2022 -0600
Bus launcher: escape socket name before passing to dbus-daemon
Fixes #48
bus/at-spi-bus-launcher.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/bus/at-spi-bus-launcher.c b/bus/at-spi-bus-launcher.c
index b695fb68..30cdad7e 100644
--- a/bus/at-spi-bus-launcher.c
+++ b/bus/at-spi-bus-launcher.c
@@ -321,7 +321,9 @@ ensure_a11y_bus_daemon (A11yBusLauncher *app, char *config_path)
if (app->socket_name)
{
+ gchar *escaped_address = g_dbus_address_escape_value (app->socket_name);
address_param = g_strconcat ("--address=unix:path=", app->socket_name, NULL);
+ g_free (escaped_address);
}
else
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]