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

Bug32588 035 tests #1826

Closed
wants to merge 10 commits into from
Closed

Conversation

Labels
None yet
Projects
None yet
3 participants
@teor2345
Copy link
Contributor

@teor2345 teor2345 commented Mar 20, 2020

No description provided.

teor2345 and others added 10 commits Jan 13, 2020
When IPv6 ORPorts are set to "auto", tor relays and bridges would
advertise an incorrect port in their descriptor.

This may be a low-severity memory safety issue, because the published
port number may be derived from uninitialised or out-of-bounds memory
reads.

Fixes bug 32588; bugfix on 0.2.3.9-alpha.
Return early when there is no suitable IPv6 ORPort.
Show the address and port on error, using a convenience function.

Code simplification and refactoring.

Cleanup after 32588.
And make sure that the IPv6 tests cover the original 32588 bug.

Part of 32588.
@coveralls
Copy link

@coveralls coveralls commented Mar 20, 2020

Pull Request Test Coverage Report for Build 8518

  • 13 of 18 (72.22%) changed or added relevant lines in 1 file are covered.
  • 1240 unchanged lines in 37 files lost coverage.
  • Overall coverage decreased (-1.7%) to 59.271%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/feature/relay/router.c 13 18 72.22%
Files with Coverage Reduction New Missed Lines %
src/feature/dirclient/dirclient.c 1 18.5%
src/feature/hs/hs_service.c 1 73.16%
src/feature/nodelist/nodelist.c 1 61.26%
src/core/or/circuitlist.c 2 55.45%
src/core/or/policies.c 2 84.6%
src/ext/tinytest.c 2 49.51%
src/feature/dircache/consdiffmgr.c 2 90.06%
src/feature/nodelist/microdesc.c 2 73.12%
src/feature/relay/router.c 2 36.65%
src/feature/rend/rendcache.c 2 92.89%
Totals Coverage Status
Change from base Build 8488: -1.7%
Covered Lines: 43378
Relevant Lines: 73186

💛 - Coveralls

@teor2345
Copy link
Contributor Author

@teor2345 teor2345 commented Mar 20, 2020

Obsoleted by #1654.

@teor2345 teor2345 closed this Mar 20, 2020
@teor2345 teor2345 deleted the bug32588_035_tests branch Mar 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment