-
Marc-André Lureau authored
In path_rule_matches(), the given paths may be of 0-length. Do not access memory before the array in those case. This is for example triggered by: test_match_rule (con, G_DBUS_SIGNAL_FLAGS_MATCH_ARG0_PATH, "/", "", FALSE); in test_connection_signal_match_rules(). This bug was found thanks to GCC AddressSanitizer. https://bugzilla.gnome.org/show_bug.cgi?id=745745
41acf970