Skip to content

Commit

Permalink
[MKW] Do not impose an upper limit on the size of 'RACE' packets
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeIsAStar authored and MikeIsAStar committed Dec 17, 2023
1 parent a8308a4 commit b445457
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion payload/wwfcSecurity.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ static bool IsValidRACEPacket(mkw::Net::RACEPacket* packet, u32 packetSize)

expectedPacketSize += eventSize;

return expectedPacketSize == packetSize;
return packetSize >= expectedPacketSize;
}

// CLIENT TO CLIENT VULNERABILITY
Expand Down

0 comments on commit b445457

Please sign in to comment.