-
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
Fix network malloc(0) bug #509
Conversation
Reviewed 2 of 2 files at r1. Comments from Reviewable |
Reviewed 2 of 2 files at r1. toxcore/network.c, line 1226 at r1 (raw file):
Btw, why do you assume that You want to use Comments from Reviewable |
Review status: 1 of 2 files reviewed at latest revision, 1 unresolved discussion, some commit checks failed. toxcore/network.c, line 1226 at r1 (raw file): Previously, nurupo wrote…
Sorry. Wrong Comments from Reviewable |
Review status: 1 of 2 files reviewed at latest revision, 1 unresolved discussion, some commit checks failed. toxcore/network.c, line 1226 at r1 (raw file): Previously, Diadlo (Polshakov Dmitry) wrote…
I would keep the check. What I'm @iphydf about is what would happen when you do Comments from Reviewable |
Review status: 1 of 2 files reviewed at latest revision, 1 unresolved discussion, some commit checks failed. toxcore/network.c, line 1226 at r1 (raw file): Previously, nurupo wrote…
Done. Comments from Reviewable |
Review status: 1 of 2 files reviewed at latest revision, 2 unresolved discussions, some commit checks failed. toxcore/network.c, line 1226 at r1 (raw file): Previously, Diadlo (Polshakov Dmitry) wrote…
That works. toxcore/network.c, line 1239 at r2 (raw file):
Should be Comments from Reviewable |
Review status: 1 of 2 files reviewed at latest revision, 2 unresolved discussions, some commit checks failed. toxcore/network.c, line 1239 at r2 (raw file): Previously, nurupo wrote…
Done. Comments from Reviewable |
@Diadlo Did you forget to push the commit? |
Yes. Pushed Review status: 1 of 2 files reviewed at latest revision, all discussions resolved, some commit checks failed. Comments from Reviewable |
Reviewed 1 of 1 files at r2, 1 of 1 files at r3. toxcore/network.c, line 1239 at r3 (raw file):
I just noticed that the loop above makes sure that Comments from Reviewable |
Review status: 1 of 2 files reviewed at latest revision, 1 unresolved discussion, some commit checks failed. toxcore/network.c, line 1239 at r3 (raw file): Previously, nurupo wrote…
Done. Comments from Reviewable |
Reviewed 1 of 1 files at r4. toxcore/network.c, line 1227 at r4 (raw file):
Either this condition should be changed back to Comments from Reviewable |
Reviewed 1 of 1 files at r5. toxcore/network.c, line 1227 at r4 (raw file): Previously, nurupo wrote…
Ok, it's fixed now. Comments from Reviewable |
Hm, actually, now that I think about it, Review status: all files reviewed at latest revision, 1 unresolved discussion, some commit checks failed. Comments from Reviewable |
Yeah, it is, in fact, the case. If Comments from Reviewable |
Done. Review status: 1 of 2 files reviewed at latest revision, 1 unresolved discussion, some commit checks failed. Comments from Reviewable |
Reviewed 1 of 1 files at r6. Comments from Reviewable |
Enable the checkbox allowing pushes from collaborators. |
@iphydf Done |
Thanks @nurupo for the report
From IRC:
This change is