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

0AA6 pointer validation relaxed for legacy scripts #82

Merged
merged 2 commits into from
Mar 1, 2024

Conversation

MiranDMC
Copy link
Collaborator

@MiranDMC MiranDMC commented Mar 1, 2024

No description provided.

@MiranDMC MiranDMC requested a review from x87 March 1, 2024 16:02
else
{
obj = (void*)OPCODE_READ_PARAM_INT(); // at least one mod used 0AA6 with 0 as struct argument (effectively turning it into 0AA5 opcode...)
}
Copy link

Choose a reason for hiding this comment

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

could also use ternary operator

Copy link
Collaborator Author

@MiranDMC MiranDMC Mar 1, 2024

Choose a reason for hiding this comment

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

Not for macros expanding into multiple lines. That is also reason for the brackets of such simple if-else.

@MiranDMC MiranDMC merged commit aace429 into master Mar 1, 2024
@MiranDMC MiranDMC deleted the 0AA6_pointer_vvalidation_tweak branch March 1, 2024 16:30
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

Successfully merging this pull request may close these issues.

2 participants