Skip to content

Commit

Permalink
Make NRSSRSanitizer code style consistent with the rest of the project
Browse files Browse the repository at this point in the history
  • Loading branch information
tremwil committed Mar 20, 2022
1 parent 0698196 commit a31feb0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ MessageHandleResult SignManager::Handle_RequestSummonSign(GameClient* Client, co
bool bSuccess = true;

// Make sure the NRSSR data contained within this message is valid (if the CVE-2022-24126 fix is enabled)
if (BuildConfig::NRSSR_SANITY_CHECKS)
if constexpr (BuildConfig::NRSSR_SANITY_CHECKS)
{
auto ValidationResult = NRSSRSanitizer::ValidateEntryList(Request->player_struct().data(), Request->player_struct().size());
if (ValidationResult != NRSSRSanitizer::ValidationResult::Valid)
Expand Down

0 comments on commit a31feb0

Please sign in to comment.