Skip to content

tlv-account-resolution: return the unpack error in init and update - #210

Open
Iamsohungrynow wants to merge 1 commit into
solana-program:mainfrom
Iamsohungrynow:fix/extra-metas-unpack-unwrap
Open

Iamsohungrynow wants to merge 1 commit into
solana-program:mainfrom
Iamsohungrynow:fix/extra-metas-unpack-unwrap

Conversation

@Iamsohungrynow

Copy link
Copy Markdown

ExtraAccountMetaList::init and update still unwrapped TlvStateMut::unpack, so data too short for a tlv header panicked instead of returning InvalidAccountData. #207 fixed the same thing in the read paths

ExtraAccountMetaList::init and update return a Result but still unwrapped
TlvStateMut::unpack, so data too short for a TLV header panicked instead of
returning InvalidAccountData. solana-program#207 fixed the same thing in the read paths.

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