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

Add a length check to protect from possible panic #1381

Merged
merged 3 commits into from
Mar 17, 2021

Conversation

sergeybykov
Copy link
Member

What changed?
Add a length check to protect from possible panic

Why?
To protect from an NRE panic in case certificate data is malformed.

How did you test it?
Unit tests

Potential risks
None

Is hotfix candidate?
No

@sergeybykov sergeybykov requested review from alexshtin and a team March 16, 2021 20:56
@sergeybykov sergeybykov enabled auto-merge (squash) March 17, 2021 06:49
@sergeybykov sergeybykov merged commit 2839b0d into temporalio:master Mar 17, 2021
@sergeybykov sergeybykov deleted the pr/certBytes branch March 17, 2021 15:35
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.

3 participants