Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dfuzzer doesn't seem to traverse objects passed directly correctly #99

Closed
evverx opened this issue May 19, 2022 · 0 comments · Fixed by #100
Closed

dfuzzer doesn't seem to traverse objects passed directly correctly #99

evverx opened this issue May 19, 2022 · 0 comments · Fixed by #100

Comments

@evverx
Copy link
Member

evverx commented May 19, 2022

It's just another issue uncovered by systemd/systemd#23445

# dfuzzer -v -n org.freedesktop.portable1 -o /org/freedesktop/portable1/image/t1
Cannot open suppression file './dfuzzer.conf'
Cannot open suppression file '/root/.dfuzzer.conf'
Loading suppressions from file '/etc/dfuzzer.conf'
[SESSION BUS]
Error while activating 'org.freedesktop.portable1': The name is not activatable.
Error while calling method 'GetConnectionUnixProcessID': The connection does not exist.
Couldn't get the PID of the tested process
[SYSTEM BUS]
[PROCESS: /usr/lib/systemd/systemd-portabled]
[CONNECTED TO PID: 392]
Object: /org/freedesktop/portable1/image/t1
Error while calling method 'Introspect': Expected image name, not path in place of ''..
Error: Unknown object path '/org/freedesktop/portable1/image/t1'.
Exit status: 1
# busctl introspect org.freedesktop.portable1 /org/freedesktop/portable1/image/t1 --no-pager
NAME                                TYPE      SIGNATURE RESULT/VALUE         FLAGS
org.freedesktop.DBus.Introspectable interface -         -                    -
.Introspect                         method    -         s                    -
org.freedesktop.DBus.Peer           interface -         -                    -
.GetMachineId                       method    -         s                    -
.Ping                               method    -         -                    -
mrc0mmand added a commit to mrc0mmand/dfuzzer that referenced this issue May 20, 2022
…ecified

Either traverse just the subtree or call the interface directly - if it
doesn't exist, dfuzzer should handle this gracefully anyway and return
the corresponding error.

Resolves: dbus-fuzzer#99
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant