[systemd-devel] [PATCH] bus: fix match_parse for unquoted matches

Peeters Simon peeters.simon at gmail.com
Sat Feb 15 17:59:27 PST 2014


2014-02-16 3:01 GMT+01:00 Simon Peeters <peeters.simon at gmail.com>:
> ---
>  src/libsystemd/sd-bus/bus-match.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/libsystemd/sd-bus/bus-match.c b/src/libsystemd/sd-bus/bus-match.c
> index ffc9756..8280488 100644
> --- a/src/libsystemd/sd-bus/bus-match.c
> +++ b/src/libsystemd/sd-bus/bus-match.c
> @@ -814,7 +814,7 @@ int bus_match_parse(
>
>                  value = NULL;
>
> -                if (q[1] == 0)
> +                if (q[quoted] == 0)
>                          break;
>
>                  if (q[quoted] != ',') {
> --
> 1.8.5.4
>

this was why connman wasn't working on top of kdbus (the match parsing
in bus-driverd would fail)


More information about the systemd-devel mailing list