8000 Add null check for EVP_get_digestbyobj by samuel40791765 · Pull Request #2360 · aws/aws-lc · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add null check for EVP_get_digestbyobj #2360

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

Merged
merged 2 commits into from
Apr 24, 2025

Conversation

samuel40791765
Copy link
Contributor

Description of changes:

Some usages of Ruby were failing internally with a NULL pointer passed to this function. Ruby OpenSSL's usage tries to parse a string and obtain an EVP_MD from it, but a NULL pointer is passed when an invalid string is used.

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.

@samuel40791765 samuel40791765 requested a review from a team as a code owner April 23, 2025 23:11
@samuel40791765 samuel40791765 enabled auto-merge (squash) April 23, 2025 23:11
@samuel40791765 samuel40791765 disabled auto-merge April 23, 2025 23:11
@samuel40791765 samuel40791765 enabled auto-merge (squash) April 23, 2025 23:12
@codecov-commenter
Copy link
codecov-commenter commented Apr 23, 2025

Codecov Report

Attention: Patch coverage is 50.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 78.76%. Comparing base (9891917) to head (caedd24).

Files with missing lines Patch % Lines
crypto/digest_extra/digest_extra.c 50.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2360   +/-   ##
=======================================
  Coverage   78.75%   78.76%           
=======================================
  Files         620      620           
  Lines      107956   107958    +2     
  Branches    15329    15331    +2     
=======================================
+ Hits        85018    85030   +12     
+ Misses      22282    22271   -11     
- Partials      656      657    +1     

☔ 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.

@samuel40791765 samuel40791765 merged commit 629fcf2 into aws:main Apr 24, 2025
111 of 114 checks passed
@samuel40791765 samuel40791765 deleted the update-null branch April 24, 2025 16:58
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
0