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

fix MavlinkConsoleController: avoid buffer out-of-bound access #10062

Merged
merged 1 commit into from
Dec 8, 2021

Conversation

bkueng
Copy link
Member

@bkueng bkueng commented Dec 6, 2021

mavlink_msg_serial_control_pack_chan expects MAVLINK_MSG_SERIAL_CONTROL_FIELD_DATA_LEN bytes for 'data', but 'chuck' might be smaller than that.

Fixes #10059

mavlink_msg_serial_control_pack_chan expects
MAVLINK_MSG_SERIAL_CONTROL_FIELD_DATA_LEN bytes for 'data', but 'chuck'
might be smaller than that.
@julianoes julianoes merged commit b6bc30f into master Dec 8, 2021
@julianoes julianoes deleted the fix_mavlink_console_oob branch December 8, 2021 06:19
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 this pull request may close these issues.

OOB READ in mavlink console
2 participants