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

[dbus] introduce DbusMessageIterRecurse that checks the type of data #2128

Merged
merged 1 commit into from
Dec 12, 2023

Conversation

superwhd
Copy link
Contributor

@superwhd superwhd commented Dec 11, 2023

dbus_message_iter_recurse will crash when the DBUS message iterator is not pointing at a proper type (see #2079). Therefore we'd better check the data type before calling dbus_message_iter_recurse.

Fixes #2079

@superwhd superwhd marked this pull request as ready for review December 12, 2023 01:52
@superwhd superwhd requested a review from jwhui December 12, 2023 02:50
@jwhui jwhui merged commit c636819 into openthread:main Dec 12, 2023
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

When giving dbus send command for AddExternalRoute, otbr-agent crashing
3 participants