[at-spi2-core] Really escape the bus address before passing to dbus-daemon



commit b18520775b7509d0b05d790db334780761be4423
Author: Mike Gorse <mgorse suse com>
Date:   Tue Jan 4 11:05:47 2022 -0600

    Really escape the bus address before passing to dbus-daemon
    
    The last commit didn't actually used the escaped value. Oops!
    
    https://gitlab.gnome.org/GNOME/at-spi2-coire/issues/48

 bus/at-spi-bus-launcher.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/bus/at-spi-bus-launcher.c b/bus/at-spi-bus-launcher.c
index 30cdad7e..d86e7d36 100644
--- a/bus/at-spi-bus-launcher.c
+++ b/bus/at-spi-bus-launcher.c
@@ -322,7 +322,7 @@ 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);
+      address_param = g_strconcat ("--address=unix:path=", escaped_address, NULL);
       g_free (escaped_address);
     }
   else


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]