| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
This fixes a use-after-free crash caused by improper raw pointer usage in TerrainQuery. Key changes: - Replace raw TerrainAtCoordinateQuery pointers with QPointer to automatically track object lifetime. - Remove manual destroyed signal handling and related cleanup code.
| Back | FazBrowse Home | New Git URL |
Terrain: Fix TerrainQuery crash
Description
This fixes a use-after-free crash caused by improper raw pointer usage in TerrainQuery.
Key changes:
In addition to this, some no-op logic has been removed.
Test Steps
Connect a real APM vehicle with a mission of around 300 waypoints. The application will often crash after loading the mission and drawing the plan.
Checklist:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.