Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

src: add self-assigment memcpy checks #56986

Merged
merged 1 commit into from
Feb 12, 2025

Conversation

wooffie
Copy link
Contributor

@wooffie wooffie commented Feb 10, 2025

Fixes: #56718

Maybe it's pointless, but imho more clear

@nodejs-github-bot
Copy link
Collaborator

Review requested:

  • @nodejs/net

@nodejs-github-bot nodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. needs-ci PRs that need a full CI run. labels Feb 10, 2025
Copy link

codecov bot commented Feb 10, 2025

Codecov Report

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

Project coverage is 89.13%. Comparing base (1781f63) to head (399dcc4).
Report is 27 commits behind head on main.

Files with missing lines Patch % Lines
src/node_sockaddr-inl.h 66.66% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #56986      +/-   ##
==========================================
+ Coverage   89.11%   89.13%   +0.01%     
==========================================
  Files         665      665              
  Lines      193174   193176       +2     
  Branches    37187    37188       +1     
==========================================
+ Hits       172154   172185      +31     
+ Misses      13754    13745       -9     
+ Partials     7266     7246      -20     
Files with missing lines Coverage Δ
src/node_sockaddr-inl.h 84.84% <66.66%> (-0.54%) ⬇️

... and 25 files with indirect coverage changes

@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@addaleax addaleax added the commit-queue Add this label to land a pull request using GitHub Actions. label Feb 12, 2025
@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Feb 12, 2025
@nodejs-github-bot nodejs-github-bot merged commit 85f5a6c into nodejs:main Feb 12, 2025
53 checks passed
@nodejs-github-bot
Copy link
Collaborator

Landed in 85f5a6c

targos pushed a commit that referenced this pull request Feb 17, 2025
Fixes: #56718
PR-URL: #56986
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
acidiney pushed a commit to acidiney/node that referenced this pull request Feb 23, 2025
Fixes: nodejs#56718
PR-URL: nodejs#56986
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
c++ Issues and PRs that require attention from people who are familiar with C++. needs-ci PRs that need a full CI run.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add self-assignment cases in SocketAddress
4 participants