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

Check pagesize is non-negative in AES-XTS test #2237

Merged
merged 1 commit into from
Mar 5, 2025

Conversation

nebeid
Copy link
Contributor

@nebeid nebeid commented Mar 4, 2025

Issues:

Addresses #P206132928

Description of changes:

Coverity signaled that pagesize is passed to mprotect() without ensuring it's non-negative.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and the ISC license.

@nebeid nebeid requested a review from a team as a code owner March 4, 2025 17:30
@nebeid nebeid requested review from justsmth and smittals2 March 4, 2025 17:31
@nebeid nebeid enabled auto-merge (squash) March 5, 2025 00:09
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.04%. Comparing base (913af96) to head (688e8f2).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2237      +/-   ##
==========================================
- Coverage   79.04%   79.04%   -0.01%     
==========================================
  Files         612      612              
  Lines      106510   106510              
  Branches    15053    15053              
==========================================
- Hits        84192    84189       -3     
- Misses      21664    21667       +3     
  Partials      654      654              

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

@nebeid nebeid merged commit 1d8b807 into aws:main Mar 5, 2025
108 of 114 checks passed
justsmth pushed a commit that referenced this pull request Mar 6, 2025
### Description of changes: 

https://github.com/aws/aws-lc/releases/edit/untagged-aef9ee5aee62c3242f30

## What's Changed
* Remove BORINGSSL_FIPS_BREAK_FFC_DH by @andrewhop in
#2216
* Increase required CMake version to 3.5 by @andrewhop in
#2219
* Coverity Fix by @smittals2 in #2236
* Check pagesize is non-negative in AES-XTS test by @nebeid in
#2237
* Don't 'dllexport' Windows symbols on static build by @justsmth in
#2238
* Update to using Clang 18 on Windows by @justsmth in
#2240
* Enforce FIPS callback is only enabled for static builds by @andrewhop
in #2241


By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 license and the ISC license.
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.

4 participants