[at-spi2-core/gnome-41: 6/14] Really escape the bus address before passing to dbus-daemon




commit 24a101061f88b5ce6238e7d08fbca4566bd1d498
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 4f154f19..0f6286a4 100644
--- a/bus/at-spi-bus-launcher.c
+++ b/bus/at-spi-bus-launcher.c
@@ -313,7 +313,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]