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

598 sanitizr address #599

Merged
merged 10 commits into from
Jun 8, 2024
Merged

598 sanitizr address #599

merged 10 commits into from
Jun 8, 2024

Conversation

lidaobing
Copy link
Member

No description provided.

@lidaobing lidaobing linked an issue May 31, 2024 that may be closed by this pull request
Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

Hey @lidaobing - I've reviewed your changes and they look great!

Here's what I looked at during the review
  • 🟡 General issues: 3 issues found
  • 🟢 Security: all looks good
  • 🟢 Testing: all looks good
  • 🟢 Complexity: all looks good

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment to tell me if it was helpful.

service->process(inAddrFromString("127.0.0.1"), 1234, "", 0, true);
}

TEST(UdpDataService, SomeoneEntry) {
auto core = newCoreThread();
auto service = new UdpDataService(*core.get());
auto service = std::make_unique<UdpDataService>(*core.get());
Copy link

Choose a reason for hiding this comment

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

suggestion: Use std::make_unique for consistency

In the previous line, you used make_unique, but here you used std::make_unique. For consistency and clarity, it's better to use std::make_unique in both places.

@iptux-src iptux-src deleted a comment from sourcery-ai bot Jun 8, 2024
@iptux-src iptux-src deleted a comment from sourcery-ai bot Jun 8, 2024
Copy link

codecov bot commented Jun 8, 2024

Codecov Report

Attention: Patch coverage is 18.18182% with 9 lines in your changes missing coverage. Please review.

Project coverage is 51.43%. Comparing base (fc093a0) to head (dceffac).

Files Patch % Lines
src/iptux/DataSettings.cpp 18.18% 9 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #599      +/-   ##
==========================================
+ Coverage   51.42%   51.43%   +0.01%     
==========================================
  Files          64       64              
  Lines        8333     8333              
==========================================
+ Hits         4285     4286       +1     
+ Misses       4048     4047       -1     

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

@lidaobing lidaobing merged commit 8ea6c1c into master Jun 8, 2024
15 of 16 checks passed
@lidaobing lidaobing deleted the 598-sanitizr-address branch June 8, 2024 05:50
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.

add compile flag -fsanity=address in debug version
1 participant