Skip to content
This repository has been archived by the owner on Sep 1, 2022. It is now read-only.

RouterInfo: fixes + additions + refactoring #634

Merged
merged 12 commits into from
May 3, 2017

Conversation

anonimal
Copy link
Collaborator

@anonimal anonimal commented May 3, 2017

WIP. Referencing #627.


By submitting this pull-request, I confirm the following:

  • I have read and understood the Contributing Guide.
  • I have checked that another pull-request for this purpose does not exist.
  • I have considered and confirmed that this submission will be valuable to others.
  • I accept that this submission may not be used and that this pull-request may be closed by the will of the maintainer.
  • I give this submission freely under the BSD 3-clause license.

@anonimal anonimal changed the title RouterInfo: fix + additions + refactoring RouterInfo: fixes + additions + refactoring May 3, 2017
- Throws on invalid buffer length
- Refactor minimum buffer size as DSA sig length for clarity
@anonimal
Copy link
Collaborator Author

anonimal commented May 3, 2017

Pushed 4a80001 and dc79308 since opening PR.

@anonimal anonimal merged commit dc79308 into monero-project:master May 3, 2017
anonimal added a commit that referenced this pull request May 3, 2017
dc79308 RouterInfo: mitigate underflow when creating/updating buffer (anonimal)
4a80001 RouterInfo: throw if ident length from buffer is null (anonimal)
d6d63fa RouterInfo: use sizeof intro key when creating bytestream (anonimal)
05141f8 RouterInfo: add error handling for bad introducer host (anonimal)
f15e076 RouterInfo: add more members to description getter (anonimal)
8c73e92 RouterInfo: use unsigned type for member buf length (anonimal)
1e154e5 RouterInfo: add RI length check when creating buffer (anonimal)
6413e85 RouterInfo: move cost raw values to enum (anonimal)
8e33444 RouterInfo: refactor / fix ctor's (anonimal)
2a40b3d RouterInfo: refactor RI file saver (anonimal)
5d746ea RouterInfo: refactor RI file loader (anonimal)
b5366cf RouterInfo: refactor size constants (anonimal)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant