Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Harden ValidateSignature against invalid input #2468

Merged

Conversation

pakrym-stripe
Copy link
Contributor

Fixes: #2424

Adds checks and an error message before accessing array elements by index.

@pakrym-stripe pakrym-stripe requested a review from a team as a code owner April 25, 2022 17:58
@pakrym-stripe pakrym-stripe enabled auto-merge (squash) April 25, 2022 17:59
@pakrym-stripe pakrym-stripe merged commit 8b1725b into master Apr 25, 2022
@pakrym-stripe pakrym-stripe deleted the pakrym/Harden_ValidateSignature_against_invalid_input branch August 29, 2022 17:29
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.

Passing a header with Stripe-Signature not in the right format gives exception
2 participants