Skip to content

Free AES 256 GCM algorithm handle on cleanup#5526

Merged
guhetier merged 1 commit intomainfrom
kumsujee/msquic/memleak
Oct 21, 2025
Merged

Free AES 256 GCM algorithm handle on cleanup#5526
guhetier merged 1 commit intomainfrom
kumsujee/msquic/memleak

Conversation

@kumsujee
Copy link
Contributor

@kumsujee kumsujee commented Oct 17, 2025

Added cleanup for AES 256 GCM algorithm handle.

Description

Fuzz test revealed a mem leak CxPlatCryptUninitialize() in which CXPLAT_AES_256_GCM_ALG_HANDLE handle was not freed.

Free the AES 256 CGM encryption handle.

Testing

Tested fuzz test to confirm the leak is not reported anymore.

Documentation

N/A

Added cleanup for AES 256 GCM algorithm handle.
@codecov
Copy link

codecov bot commented Oct 17, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.73%. Comparing base (364b9a2) to head (815a445).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5526      +/-   ##
==========================================
+ Coverage   85.18%   85.73%   +0.54%     
==========================================
  Files          59       59              
  Lines       18621    18621              
==========================================
+ Hits        15862    15964     +102     
+ Misses       2759     2657     -102     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@kumsujee kumsujee marked this pull request as ready for review October 20, 2025 23:07
@kumsujee kumsujee requested a review from a team as a code owner October 20, 2025 23:07
@guhetier guhetier merged commit b8afcda into main Oct 21, 2025
467 of 468 checks passed
@guhetier guhetier deleted the kumsujee/msquic/memleak branch October 21, 2025 16:56
guhetier pushed a commit that referenced this pull request Jan 12, 2026
Added cleanup for AES 256 GCM algorithm handle.
guhetier added a commit that referenced this pull request Jan 13, 2026
## Description

Added cleanup for AES 256 GCM algorithm handle.

## Testing

CI

## Documentation

N/A

Co-authored-by: Sujeet Kumar <78836687+kumsujee@users.noreply.github.com>
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.

2 participants