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

px4io - Fix array regs[] size #14135

Merged
merged 3 commits into from Feb 13, 2020

Conversation

BazookaJoe1900
Copy link
Member

may cause memory override if _max_controls larger then _max_actuators

Describe problem solved by this pull request
probably _max_controls is not larger then _max_actuators. or there is no use of the memory after, in the code scenario. so we never seen an issue

Describe your solution
fix array size

may cause memory override if _max_controls larger then _max_actuators
src/drivers/px4io/px4io.cpp Outdated Show resolved Hide resolved
Copy link
Member

@bkueng bkueng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good to go

@bkueng bkueng merged commit c78572b into PX4:master Feb 13, 2020
@BazookaJoe1900 BazookaJoe1900 deleted the pr-fix_max_controls_array branch February 13, 2020 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants