-
Notifications
You must be signed in to change notification settings - Fork 291
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
Make DHT a module-private type. #688
Conversation
Reviewed 15 of 15 files at r1. Comments from Reviewable |
Reviewed 12 of 15 files at r1. toxcore/DHT.c, line 131 at r1 (raw file):
check for out of bounds read necessary? If not add a comment stating that this function doesn't check bounds toxcore/DHT.c, line 140 at r1 (raw file):
same toxcore/DHT.c, line 144 at r1 (raw file):
same toxcore/LAN_discovery.c, line 359 at r1 (raw file):
Intended change or accidentally removed? Comments from Reviewable |
Review status: 12 of 16 files reviewed at latest revision, 4 unresolved discussions, some commit checks pending. toxcore/DHT.c, line 131 at r1 (raw file): Previously, sudden6 wrote…
Added an assert. Proper bound checking can be added later, but it requires the caller to check the return type. In this PR, I'm avoiding logic changes. toxcore/DHT.c, line 140 at r1 (raw file): Previously, sudden6 wrote…
Done. toxcore/DHT.c, line 144 at r1 (raw file): Previously, sudden6 wrote…
Done. toxcore/LAN_discovery.c, line 359 at r1 (raw file): Previously, sudden6 wrote…
Intentional, and also removed the filter in Comments from Reviewable |
Reviewed 4 of 4 files at r2. Comments from Reviewable |
54be86a
to
6ce70cd
Compare
Review status: 4 of 16 files reviewed at latest revision, all discussions resolved. Comments from Reviewable |
This change is