Skip to content

AP_AIS: guard truncated payload reads#32817

Draft
vlordier wants to merge 1 commit intoArduPilot:masterfrom
vlordier:pr/ap-ais-truncated-payload-guard
Draft

AP_AIS: guard truncated payload reads#32817
vlordier wants to merge 1 commit intoArduPilot:masterfrom
vlordier:pr/ap-ais-truncated-payload-guard

Conversation

@vlordier
Copy link
Copy Markdown

@vlordier vlordier commented Apr 18, 2026

This draft isolates the AP_AIS payload bounds fix from the larger hardening branch.

Summary:

  • reject truncated payload reads in AP_AIS bit extraction
  • add focused regression coverage for truncated payload, last-valid-bit, and one-bit-past-end span handling

Why:

  • this is a small, reviewable parser correctness fix
  • it stands on its own without the broader security/process framing from the original branch

Validation:

  • branch was split cleanly from upstream/master
  • local configure succeeded in an isolated worktree
  • the branch includes focused regression test source for the truncation and span-handling cases in this slice
  • the target was not enumerated by the local worktree build as-is, so full test execution was not completed locally

This PR is intentionally draft while confirming the preferred test integration path.

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.

1 participant