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

Onionk protocommas2 #2039

Merged
9 commits merged into from Aug 3, 2020
Merged

Onionk protocommas2 #2039

9 commits merged into from Aug 3, 2020

Conversation

nmathewson
Copy link
Contributor

No description provided.

cypherpunks added 9 commits February 9, 2020 01:22
It was just a copypaste of the test above it.

Fix on commit 15e59a1
commit 15e59a1 added a test
for parsing an empty string twice.
Contrary to what 15e59a1
said, the C implementation has always accepted an empty string
without complaint. Meanwhile the rust implementation has always
given an error. Make the rust implementation match C.

Also eliminate some more redundant tests.

Fix on 0.3.3.1-alpha.
Contrary to its name, protover_contains_long_protocol_names()
detects all parse errors, not just long names.
Consistently reject extra commas, instead of only rejecting leading
commas.

Fix on b2b2e1c.
Fixes #27194; bugfix on 0.2.9.4-alpha.
@coveralls
Copy link

Pull Request Test Coverage Report for Build 9745

  • 15 of 18 (83.33%) changed or added relevant lines in 2 files are covered.
  • 20 unchanged lines in 4 files lost coverage.
  • Overall coverage decreased (-0.009%) to 64.385%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/feature/dirparse/ns_parse.c 14 17 82.35%
Files with Coverage Reduction New Missed Lines %
src/feature/relay/circuitbuild_relay.c 1 87.58%
src/feature/dirauth/shared_random.c 4 85.0%
src/feature/dirparse/ns_parse.c 6 68.41%
src/feature/dirauth/dirvote.c 9 65.24%
Totals Coverage Status
Change from base Build 9740: -0.009%
Covered Lines: 51465
Relevant Lines: 79933

💛 - Coveralls

@ghost ghost merged commit d1fda62 into torproject:master Aug 3, 2020
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants