-
Notifications
You must be signed in to change notification settings - Fork 15.4k
Comparing changes
Open a pull request
base repository: PX4/PX4-Autopilot
base: v1.17.0-rc1
head repository: PX4/PX4-Autopilot
compare: v1.17.0-rc2
- 7 commits
- 14 files changed
- 1 contributor
Commits on Mar 13, 2026
-
fix(telemetry/bst): validate reply length and dev_name_len before use
Reject replies with length >= sizeof(BSTPacket) to prevent OOB read in CRC calculation. Clamp dev_name_len to buffer size to prevent OOB write during null termination. Signed-off-by: Ramon Roche <mrpollo@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 3d63672 - Browse repository at this point
Copy the full SHA 3d63672View commit details -
fix(tattu_can): validate CAN frame bounds before buffer copy
Add bounds checking in the CAN frame assembly loop to prevent a buffer overflow when copying payloads into the Tattu12SBatteryMessage struct. A crafted CAN frame with a corrupt payload_size could write past the 48-byte struct boundary. Also guard against payload_size of 0 which would cause an unsigned integer underflow on the size_t subtraction. Fixes GHSA-wxwm-xmx9-hr32 Signed-off-by: Ramon Roche <mrpollo@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 9605d8d - Browse repository at this point
Copy the full SHA 9605d8dView commit details -
fix(mavlink): reject path traversal sequences in FTP operations
Add _validatePath() that rejects paths containing ".." components, preventing directory traversal outside the FTP root directory. Applied to all FTP operation handlers (list, open, remove, truncate, rename, mkdir, rmdir, CRC32). Fixes GHSA-fh32-qxj9-x32f, GHSA-pm28-2j4f-8jxv Signed-off-by: Ramon Roche <mrpollo@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 48335ac - Browse repository at this point
Copy the full SHA 48335acView commit details -
refactor(mavlink): remove dead FTP unit test code
Remove the old MAVLINK_FTP_UNIT_TEST infrastructure that has been dead code for years (not enabled in any board config). This includes: - src/modules/mavlink/mavlink_tests/ directory (test suite, CMakeLists) - All #ifdef MAVLINK_FTP_UNIT_TEST blocks in mavlink_ftp.cpp - set_unittest_worker() callback mechanism in mavlink_ftp.h - Conditional uAvionix include in mavlink_bridge_header.h The test suite will be ported to GTest as a follow-up. Ref: #26738 Signed-off-by: Ramon Roche <mrpollo@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 3bd06cc - Browse repository at this point
Copy the full SHA 3bd06ccView commit details -
fix(mavlink): correct session validation in FTP write and burst opera…
…tions Use logical OR (||) instead of AND (&&) in _workWrite() and _workBurst() session validation, matching the correct logic already used in _workRead() and _workTerminate(). The AND operator allowed operations to proceed with an invalid session ID as long as a valid file descriptor existed. Signed-off-by: Ramon Roche <mrpollo@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for b5b4853 - Browse repository at this point
Copy the full SHA b5b4853View commit details -
fix(zenoh): validate payload size before stack allocation
Reject Zenoh payloads that exceed the expected uORB topic size plus CDR header (4 bytes), or that are too small to contain a valid CDR header. This prevents a stack overflow from crafted network input where z_bytes_len(payload) controls a VLA allocation. Fixes GHSA-69g4-hcqf-j45p Signed-off-by: Ramon Roche <mrpollo@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 69a6b9e - Browse repository at this point
Copy the full SHA 69a6b9eView commit details -
fix(mavlink): remove all stale mavlink_tests references
The mavlink_tests module was deleted in 1009268 but several references were left behind, breaking builds on all targets. Removed: - CMakeLists.txt: add_subdirectory(mavlink_tests) - mavlink_ftp.cpp: #include of deleted mavlink_ftp_test.h - mavlink_ftp.h: MavlinkFtpTest forward decl and friend class - posix-configs/SITL/init/test/test_mavlink: dead init script - sitl_tests.cmake: sitl-mavlink CTest target - install-voxl.sh: px4-mavlink_tests symlink Ref: #26738 Signed-off-by: Ramon Roche <mrpollo@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 0b6e468 - Browse repository at this point
Copy the full SHA 0b6e468View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v1.17.0-rc1...v1.17.0-rc2