Skip to content

Conversation

@jadebenn
Copy link
Collaborator

Hooked up the sanitizer to try and track down any UB in our codebase

@EmosewaMC
Copy link
Collaborator

make sure to check foot races in AG show the correct times at game end 👍

input[3] = 0x01;
input[4] = 0xFF;
*reinterpret_cast<uint32_t*>(input + 5) = chunkSize; // Write the integer to the character array
std::memcpy(&input[5], &chunkSize, sizeof(uint32_t)); // Write the integer to the character array
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this one is a bit harder to test, but ill send you a test case for it

}

operator bool() {
// NEED TO FIX THIS
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if this is changed make sure to check files existing and not existing with both packed and unpacked clients

@jadebenn
Copy link
Collaborator Author

jadebenn commented Nov 26, 2024

make sure to check foot races in AG show the correct times at game end 👍

Tested it, and it looks good. Still need to address a few other things.

@jadebenn jadebenn mentioned this pull request Nov 27, 2024
2 tasks
@jadebenn jadebenn self-assigned this Dec 20, 2024
@jadebenn jadebenn added the A-common Related to dCommon label Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-common Related to dCommon

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants