Skip to content

lang: Handle invalid camel case ident more gracefully#4021

Merged
jacobcreech merged 1 commit intosolana-foundation:masterfrom
jamie-osec:invalid-ident
Nov 28, 2025
Merged

lang: Handle invalid camel case ident more gracefully#4021
jacobcreech merged 1 commit intosolana-foundation:masterfrom
jamie-osec:invalid-ident

Conversation

@jamie-osec
Copy link
Copy Markdown
Collaborator

Closes #4017

Ident::new panics on invalid identifiers; syn::parse_str is the recommended alternative for untrusted input.

@vercel
Copy link
Copy Markdown

vercel bot commented Oct 23, 2025

@jamie-osec is attempting to deploy a commit to the Solana Foundation Team on Vercel.

A member of the Team first needs to authorize it.

@jamie-osec jamie-osec added lang fix Bug fix PR labels Oct 23, 2025
@jamie-osec jamie-osec requested a review from 0x4ka5h October 23, 2025 15:11
Copy link
Copy Markdown
Collaborator

@0x4ka5h 0x4ka5h left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Contributor

@Otter-0x4ka5h Otter-0x4ka5h left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you know what causes these error and results in failing tests?

Copy link
Copy Markdown
Contributor

@Otter-0x4ka5h Otter-0x4ka5h left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@nutafrost nutafrost assigned nutafrost and jacobcreech and unassigned nutafrost Nov 6, 2025
@nutafrost nutafrost moved this to Security Review Done in Anchor 1.0 Nov 6, 2025
@nutafrost nutafrost added the Merge label Nov 6, 2025
@jacobcreech jacobcreech merged commit 15ad6d5 into solana-foundation:master Nov 28, 2025
54 of 55 checks passed
@github-project-automation github-project-automation bot moved this from Security Review Done to Done in Anchor 1.0 Nov 28, 2025
Otter-0x4ka5h pushed a commit to Otter-0x4ka5h/anchor that referenced this pull request Mar 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Unhandled Panic in Anchor Instruction Dispatch Code Generation

5 participants