analyze: fix crash with online security check
authorLuca Boccassi <bluca@debian.org>
Fri, 29 Apr 2022 22:50:11 +0000 (23:50 +0100)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 1 May 2022 02:47:44 +0000 (11:47 +0900)
commit444d9abd06478525fc5da3b03c512f6a1f0ef12b
tree1db0f3733569d7ae1fb07885fbd0c863839c40fd
parentf470cb6d13558fc06131dc677d54a089a0b07359
analyze: fix crash with online security check

1449b0f8a96b27 fixed seccomp arch check for the offline case,
but broke it for the normal case, as when coming from D-Bus the
list of seccomp architectures is already converted to string.

Fixes https://github.com/systemd/systemd/issues/23224
src/analyze/analyze-security.c
test/units/testsuite-65.sh