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

Fix/sqsh config oob #291

Merged
merged 2 commits into from
Aug 17, 2024
Merged

Fix/sqsh config oob #291

merged 2 commits into from
Aug 17, 2024

Commits on Aug 17, 2024

  1. archive: do not copy the _reserved field

    SqshConfig tries to stay binary compatible by using a reserved field
    at the end of the structure. When copying the structure, we should
    not copy this field, as this may result in copying from an out of bounds
    memory location.
    Gottox committed Aug 17, 2024
    Configuration menu
    Copy the full SHA
    a9315b0 View commit details
    Browse the repository at this point in the history
  2. archive: Add a test to ensure backwards compatibility

    This commit adds a unit test to ensure that the struct SqshConfig
    is not larger than the last backwards compatible version.
    Gottox committed Aug 17, 2024
    Configuration menu
    Copy the full SHA
    face878 View commit details
    Browse the repository at this point in the history