| Summary: |
dbus_signature_iter_recurse fails for nested arrays |
| Product: |
dbus
|
Reporter: |
Thiago Macieira <thiago> |
| Component: |
core | Assignee: |
Havoc Pennington <hp> |
| Status: |
RESOLVED
FIXED
|
QA Contact: |
|
| Severity: |
normal
|
|
|
| Priority: |
high
|
Keywords: |
patch |
| Version: |
unspecified | |
|
| Hardware: |
Other | |
|
| OS: |
Linux (All) | |
|
| Whiteboard: |
|
|
i915 platform:
|
|
i915 features:
|
|
| Attachments: |
Patch fixing the behaviour
|
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
Given the type signature "aa{sv}", the second call to dbus_signature_iter_recurse will set the real sub-iterator to have in_array=TRUE. This means that, after we get the "s", dbus_signature_iter_next returns false and, this, the dict_entry will have only one element. The same behaviour can be seen in any array of array where the second array contains a struct of more than one element or a dict entry. ("aa(iii)", for instance).