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

Conversation

Gottox
Copy link
Owner

@Gottox Gottox commented Aug 17, 2024

No description provided.

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.
This commit adds a unit test to ensure that the struct SqshConfig
is not larger than the last backwards compatible version.
Copy link

sonarcloud bot commented Aug 17, 2024

Copy link

codecov bot commented Aug 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 64.37%. Comparing base (cccc583) to head (face878).
Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #291   +/-   ##
=======================================
  Coverage   64.37%   64.37%           
=======================================
  Files          75       75           
  Lines        5752     5752           
  Branches      874      874           
=======================================
  Hits         3703     3703           
  Misses       1531     1531           
  Partials      518      518           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Gottox Gottox merged commit 5f998a2 into main Aug 17, 2024
18 checks passed
@Gottox Gottox deleted the fix/sqsh-config-oob branch August 17, 2024 09:37
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