8000 [SCRUTINICE] Remove redundant condition check by nhatnghiho · Pull Request #2450 · aws/aws-lc · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[SCRUTINICE] Remove redundant condition check #2450

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 4 commits into from
Jun 2, 2025

Conversation

nhatnghiho
Copy link
Contributor
@nhatnghiho nhatnghiho commented May 30, 2025

Description of changes:

Remove a redundant check in memory BIO that Scrutinice caught.

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.

@nhatnghiho nhatnghiho requested a review from a team as a code owner May 30, 2025 16:06
@nhatnghiho nhatnghiho force-pushed the scrutinice-memory-bio branch from ed29b14 to 7d7ee3d Compare May 30, 2025 16:10
justsmth
justsmth previously approved these changes May 30, 2025
@codecov-commenter
Copy link
codecov-commenter commented May 30, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.88%. Comparing base (3742772) to head (f18901b).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2450   +/-   ##
=======================================
  Coverage   78.88%   78.88%           
=======================================
  Files         621      621           
  Lines      108675   108675           
  Branches    15419    15420    +1     
=======================================
+ Hits        85729    85730    +1     
+ Misses      22275    22273    -2     
- Partials      671      672    +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.

Copy link
Contributor
@nebeid nebeid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

my preference is to put len < 0 in brackets,

@nhatnghiho nhatnghiho enabled auto-merge (squash) June 2, 2025 19:53
@nhatnghiho nhatnghiho merged commit 9ee8ec8 into aws:main Jun 2, 2025
117 of 118 checks passed
@justsmth justsmth mentioned this pull request Jun 6, 2025
justsmth added a commit that referenced this pull request Jun 13, 2025
## What's Changed
* Add build with hardened flag by @m271828 in
#2396
* Openssl tool output ordered by options provided by @justsmth in
#2452
* [SCRUTINICE] Remove redundant condition check by @nhatnghiho in
#2450
* Support relro in delocator by @torben-hansen in
#2455
* Explicitly don't allow buffers aliasing in ctr-drbg implementation by
@torben-hansen in #2458
* Remove unused Windows afunix.h by @justsmth in
#2461
* Revert "Rework memory BIOs and implement BIO_seek (2nd try) (#2433)"
by @justsmth in #2466
* Use max_cert_list for TLSv1.3 NewSessionTicket by @skmcgrail in
#2453
* ML-KEM memory safety by @m271828 in
#2263
* Simplify Compiler CI jobs by @justsmth in
#2430
* Improve support for multilib-style distros in our test scripts by
@justsmth in #2467
* Fix Ruby mainline and nginx CI by @samuel40791765 in
#2460
* Add hardened build back in by @m271828 in
#2474
* Fix OCSP integration test failures by @samuel40791765 in
#2480
* Fix some theoretical missing earlyclobber markers in inline assembly
by @torben-hansen in #2477
* Simplify sshkdf and kbkdf by @torben-hansen in
#2478
* Run 3p module tests on python 3.13, add patch for 3.14 by
@WillChilds-Klein in #2476
* [UPSTREAM] Fix BIO_eof for BIO pairs by @justsmth in
#2440
* Fix service indicator in HKDF, more paranoid zeroization, and simplify
logic by @torben-hansen in #2482


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.

5 participants
0