Skip to content

Fix taint-related arithmetic errors in MoneyFrame (#96)#97

Merged
stevin05 merged 1 commit intostevin05:mainfrom
defunes43:fix-taint-96
Mar 13, 2026
Merged

Fix taint-related arithmetic errors in MoneyFrame (#96)#97
stevin05 merged 1 commit intostevin05:mainfrom
defunes43:fix-taint-96

Conversation

@defunes43
Copy link
Copy Markdown

This PR resolves the 'tainted by CraftScan' error that causes an arithmetic crash in MoneyFrame.lua.

  • Wrapped GameTooltip:SetRecipeResultItem calls in securecall to ensure update logic runs in a secure context.
  • Used an anonymous frame for the toggle button in ProfessionsFrame to avoid taint propagation to secure frames.

Fixes #96

- Wrap GameTooltip:SetRecipeResultItem calls in securecall to ensure update logic runs in a secure context.
- Use anonymous frame for the toggle button in ProfessionsFrame to avoid taint propagation.
@stevin05 stevin05 merged commit 82227f2 into stevin05:main Mar 13, 2026
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.

LUA errors regarding secret money values in JC and BS

2 participants