sd-bus: work around ubsan warning
authorLennart Poettering <lennart@poettering.net>
Wed, 22 Apr 2020 17:32:09 +0000 (19:32 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 23 Apr 2020 06:54:30 +0000 (08:54 +0200)
commit0cd41757d061c4b0a85532499f29f23651279234
treef503f17a29c1e57ec82d07257c0318f80dd4e90e
parent570f92c691bc734922073198a68455bde0451ad4
sd-bus: work around ubsan warning

ubsan complains that we add an offset to a NULL ptr here in some cases.
Which isn't really a bug though, since we only use it as the end
condition for a for loop, but we can still fix it...

Fixes: #15522
src/basic/strv.h
src/core/namespace.c
src/libsystemd/sd-bus/bus-message.c
src/libsystemd/sd-bus/bus-objects.c
src/systemctl/systemctl.c