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

Update return value from EVP_Encode_Update in one error case #1499

Merged
merged 1 commit into from
Mar 15, 2024

Conversation

nebeid
Copy link
Contributor

@nebeid nebeid commented Mar 15, 2024

Issues:

Resolves #P121857409

Description of changes:

Coverity pointed that total was not used in this if statement which returns right away. It was because of introducing the return statements in 6d9a767.
The comments indicate that the intention is to update out_len as on line 180.

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 15, 2024 16:40
@nebeid nebeid requested review from andrewhop and smittals2 March 15, 2024 16:42
@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 0% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 77.00%. Comparing base (e248bf5) to head (6084f8c).

Files Patch % Lines
crypto/base64/base64.c 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1499      +/-   ##
==========================================
- Coverage   77.00%   77.00%   -0.01%     
==========================================
  Files         425      425              
  Lines       71525    71525              
==========================================
- Hits        55078    55077       -1     
- Misses      16447    16448       +1     

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

@nebeid nebeid merged commit edfbcb9 into aws:main Mar 15, 2024
44 checks passed
@nebeid nebeid deleted the base64 branch March 18, 2024 15:59
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