Skip to content

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

@kaede1003

Description

@kaede1003

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions