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 043 #1829

Merged
merged 9 commits into from Jun 29, 2020
Merged

Bug32588 043 #1829

merged 9 commits into from Jun 29, 2020

Conversation

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

@teor2345 teor2345 commented Mar 20, 2020

No description provided.

teor2345 and others added 9 commits Mar 20, 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.
Merge tests from maint-0.4.1 with new tests from bug32588_035
in test_router.c.
Merge static function declaration deletions from bug32588_042 and
maint-0.4.3 in app/config/config.c.
@coveralls
Copy link

@coveralls coveralls commented Mar 20, 2020

Pull Request Test Coverage Report for Build 8524

  • 15 of 18 (83.33%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.06%) to 63.658%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/feature/relay/router.c 15 18 83.33%
Totals Coverage Status
Change from base Build 8513: 0.06%
Covered Lines: 50263
Relevant Lines: 78958

💛 - Coveralls

@torproject-pusher torproject-pusher merged commit 3008255 into torproject:maint-0.4.3 Jun 29, 2020
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment