diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-08-11 11:43:09 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-10-02 11:53:20 +0200 |
commit | d831fb6f2bde829f9309aea242f502587662d1cc (patch) | |
tree | 4fdf6009e2757de7ab39d351b8cf7dcb316b6013 /src/libsystemd/sd-bus/bus-message.c | |
parent | fuzz-bus-message: add two test cases that pass now (diff) | |
download | systemd-d831fb6f2bde829f9309aea242f502587662d1cc.tar.gz systemd-d831fb6f2bde829f9309aea242f502587662d1cc.tar.bz2 systemd-d831fb6f2bde829f9309aea242f502587662d1cc.zip |
bus-message: return -EBADMSG not -EINVAL on invalid !gvariant messages
Diffstat (limited to 'src/libsystemd/sd-bus/bus-message.c')
-rw-r--r-- | src/libsystemd/sd-bus/bus-message.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd/sd-bus/bus-message.c b/src/libsystemd/sd-bus/bus-message.c index 003adcf13..a484dc41c 100644 --- a/src/libsystemd/sd-bus/bus-message.c +++ b/src/libsystemd/sd-bus/bus-message.c @@ -5024,7 +5024,7 @@ static int message_skip_fields( *signature += l; } else - return -EINVAL; + return -EBADMSG; } } |