Skip to content

fix: nil check for secret.Auth before accessing ClientToken - #526

Open
AruneshDwivedi wants to merge 1 commit into
hashicorp:mainfrom
AruneshDwivedi:fix/nil-auth-pointer
Open

fix: nil check for secret.Auth before accessing ClientToken#526
AruneshDwivedi wants to merge 1 commit into
hashicorp:mainfrom
AruneshDwivedi:fix/nil-auth-pointer

Conversation

@AruneshDwivedi

Copy link
Copy Markdown

Prevents panic when vault returns a secret without Auth field. Add defensive check to return descriptive error instead of segfault. Addresses crash in auth() when ParseSecret returns nil or empty Auth.

Prevents panic when vault returns a secret without Auth field.
Add defensive check to return descriptive error instead of segfault.
Addresses crash in auth() when ParseSecret returns nil or empty Auth.
@AruneshDwivedi
AruneshDwivedi requested review from a team as code owners August 23, 2026 14:44
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