Location service crashes when receiving unexpected method call
Bug #1353557 reported by
Pete Woods
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dbus-cpp |
Confirmed
|
High
|
Thomas Voß |
Bug Description
Just run:
dbus-send --system --dest=
and the system service will crash.
Changed in dbus-cpp: | |
status: | New → Confirmed |
Changed in dbus-cpp: | |
importance: | Undecided → High |
assignee: | nobody → Thomas Voß (thomas-voss) |
Changed in location-service: | |
assignee: | nobody → Thomas Voß (thomas-voss) |
affects: | location-service → location-service (Ubuntu) |
no longer affects: | location-service (Ubuntu) |
To post a comment you must log in.
Crash happens inside the dbus-cpp worker thread with:
terminate called after throwing an instance of 'std::runtime_ error'
what(): Mismatch between expected and actual type reported by iterator:
Expected: string
Actual: invalid
Probably whatever is handling the Get() for the service is not checking the number of arguments when it tries to read the second string it throws an exception.