-
Notifications
You must be signed in to change notification settings - Fork 43
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
OpenYGE - fix: address possible buffer underflow condition, add 2nd paranoid frame length validation … #96
Merged
rotorflight
merged 1 commit into
rotorflight:master
from
bob01:esc_sensor_openyge_fixunderrun
Apr 6, 2024
Merged
OpenYGE - fix: address possible buffer underflow condition, add 2nd paranoid frame length validation … #96
rotorflight
merged 1 commit into
rotorflight:master
from
bob01:esc_sensor_openyge_fixunderrun
Apr 6, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…aranoid frame length validation outside ISR/callback
rotorflight
approved these changes
Apr 6, 2024
bob01
added a commit
to bob01/rotorflight-firmware
that referenced
this pull request
Apr 15, 2024
* master: Fix Kontronik telemetry protocol (rotorflight#98) Update README.md Add Horizon mode inverted self-leveling Add CI or PR to the firmware extra version string OpenYGE - fix: address possible buffer underflow condition, add 2nd paranoid frame length validation outside ISR/callback (rotorflight#96) Fix RPM filter error check with Direct Drive motors (rotorflight#94) Fix TTA headroom calculation in Gov Passthrough (rotorflight#92) Add GOV_MODE FrSky telemetry sensor (rotorflight#89) Add github workflows for CI builds OpenYGE - fix to support v3 frame header extension (rotorflight#87) chore: fixed scale lights terminology (rotorflight#85) Add Releases.md Update github workflows Reduce default smoothing level Simplify RC frame rate calculation Change default PID D-gains Change default motor protocol to PWM Add 'mixer reset' to mixer CLI help # Conflicts: # src/main/sensors/esc_sensor.c
bob01
added a commit
to bob01/rotorflight-firmware
that referenced
this pull request
Apr 15, 2024
* esc_sensor_data_plus: (21 commits) RFF-78 - escSensorData - added .throttle to. capture input setpoint as reported by ESC Fix Kontronik telemetry protocol (rotorflight#98) Update README.md Add Horizon mode inverted self-leveling Add CI or PR to the firmware extra version string OpenYGE - fix: address possible buffer underflow condition, add 2nd paranoid frame length validation outside ISR/callback (rotorflight#96) Fix RPM filter error check with Direct Drive motors (rotorflight#94) Fix TTA headroom calculation in Gov Passthrough (rotorflight#92) Add GOV_MODE FrSky telemetry sensor (rotorflight#89) Add github workflows for CI builds OpenYGE - telemetry - BEC voltage and current fix OpenYGE - fix to support v3 frame header extension (rotorflight#87) OpenYGE - support v3 frame header extension - documentation chore: fixed scale lights terminology (rotorflight#85) Add Releases.md Update github workflows Reduce default smoothing level Simplify RC frame rate calculation Change default PID D-gains Change default motor protocol to PWM ... # Conflicts: # src/main/sensors/esc_sensor.c
bob01
added a commit
to bob01/rotorflight-firmware
that referenced
this pull request
Apr 15, 2024
* esc_sensor_data_plus: (21 commits) RFF-78 - escSensorData - added .throttle to. capture input setpoint as reported by ESC Fix Kontronik telemetry protocol (rotorflight#98) Update README.md Add Horizon mode inverted self-leveling Add CI or PR to the firmware extra version string OpenYGE - fix: address possible buffer underflow condition, add 2nd paranoid frame length validation outside ISR/callback (rotorflight#96) Fix RPM filter error check with Direct Drive motors (rotorflight#94) Fix TTA headroom calculation in Gov Passthrough (rotorflight#92) Add GOV_MODE FrSky telemetry sensor (rotorflight#89) Add github workflows for CI builds OpenYGE - telemetry - BEC voltage and current fix OpenYGE - fix to support v3 frame header extension (rotorflight#87) OpenYGE - support v3 frame header extension - documentation chore: fixed scale lights terminology (rotorflight#85) Add Releases.md Update github workflows Reduce default smoothing level Simplify RC frame rate calculation Change default PID D-gains Change default motor protocol to PWM ... # Conflicts: # src/main/sensors/esc_sensor.c
bob01
added a commit
to bob01/rotorflight-firmware
that referenced
this pull request
Apr 15, 2024
* esc_sensor_hd: (24 commits) CRSF - reuse - minor code consistency - missing comma CRSF - reuse - expose additional ESC sources on ATT 16-bit sensors - not enough room on GPS sensors REUSE - added BEC, BUS, MPU voltage sources to GPS sensor options RFF-78 - escSensorData - added .throttle to. capture input setpoint as reported by ESC Fix Kontronik telemetry protocol (rotorflight#98) Update README.md Add Horizon mode inverted self-leveling Add CI or PR to the firmware extra version string OpenYGE - fix: address possible buffer underflow condition, add 2nd paranoid frame length validation outside ISR/callback (rotorflight#96) Fix RPM filter error check with Direct Drive motors (rotorflight#94) Fix TTA headroom calculation in Gov Passthrough (rotorflight#92) Add GOV_MODE FrSky telemetry sensor (rotorflight#89) Add github workflows for CI builds OpenYGE - telemetry - BEC voltage and current fix OpenYGE - fix to support v3 frame header extension (rotorflight#87) OpenYGE - support v3 frame header extension - documentation chore: fixed scale lights terminology (rotorflight#85) Add Releases.md Update github workflows Reduce default smoothing level ... # Conflicts: # src/main/cli/settings.c
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
…outside ISR/callback.
Discovered while testing a derivative branch it was observed FC became unresponsive while making MSP updates w/ RF2 LUA or RF configurator. Issue was intermittent.
Cause:
Fix:
Note: we were not able to reproduce this issue with RC1 but this code vulnerable without this fix