Skip to content

Fix: FightingWho secret string comparison error during combat#22

Open
Amadeus- wants to merge 1 commit intoResike:mainfrom
Amadeus-:FightingWhoFix
Open

Fix: FightingWho secret string comparison error during combat#22
Amadeus- wants to merge 1 commit intoResike:mainfrom
Amadeus-:FightingWhoFix

Conversation

@Amadeus-
Copy link
Copy Markdown

FightingWho can become a secret string value when set from tainted execution context.

Wrapped all three comparisons in pcall so they fail gracefully. Also protected a debug log line that concatenated FightingWho directly.

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.

1 participant