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

Crash while perfoming connect by setting connect atempt count below the NUM_MTU_SIZES #39

Open
kaede1003 opened this issue Feb 8, 2017 · 1 comment

Comments

@kaede1003
Copy link

i found a crash while i am perfoming connect from rakpeer::connect interface by passing the connect atempt count below NUM_MTU_SIZES( <3 )

See rakpeer.cpp at line 5919
int MTUSizeIndex = rcs->requestsMade / (rcs->sendConnectionAttemptCount/NUM_MTU_SIZES);
if value of rcs->sendConnectionAttemptCount is below NUM_MTU_SIZES, the divied by zero issue will be occured.

@Kiddinglife
Copy link

should be easy to fix it up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants