Skip to content

tlv-account-resolution: return an error for oversized literal seeds - #214

Open
Iamsohungrynow wants to merge 1 commit into
solana-program:mainfrom
Iamsohungrynow:fix/oversized-literal-seed
Open

Iamsohungrynow wants to merge 1 commit into
solana-program:mainfrom
Iamsohungrynow:fix/oversized-literal-seed

Conversation

@Iamsohungrynow

Copy link
Copy Markdown
Contributor

Seed::Literal with 254+ bytes overflows the u8 in tlv_size and panics. a 33 byte literal already returns SeedConfigsTooLarge, so this one does too now

This branch has not been deployed

No deployments
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