Skip to content

Conversation

@acheroncrypto
Copy link
Collaborator

Problem

find_path function used in non-Anchor external type resolution can potentially panic if the file we're looking for doesn't exist in any of the ancestors.

This can happen in rare cases such as the recursive external type resolution described in #2946.

Summary of changes

Rewrite the find_path function without a potential panic.

@vercel
Copy link

vercel bot commented May 9, 2024

@acheroncrypto is attempting to deploy a commit to the coral-xyz Team on Vercel.

A member of the Team first needs to authorize it.

@acheroncrypto acheroncrypto added the idl related to the IDL, either program or client side label May 9, 2024
@acheroncrypto acheroncrypto merged commit 14309ea into solana-foundation:master May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

idl related to the IDL, either program or client side

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant