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

elasticache_cluster_previous_type: fix panic on empty string #430

Merged
merged 1 commit into from
Dec 8, 2022

Conversation

bendrucker
Copy link
Member

@bendrucker bendrucker commented Dec 8, 2022

Fixes a panic that resulted from an out-of-bound read. Previouisly, the rule naively assumed that node_type is always "cache.*". Now, if the node type does not have all 3 parts, the rule returns early.

This was a regression introduced in #309.

Closes #429.

@bendrucker bendrucker merged commit 1277f3d into master Dec 8, 2022
@bendrucker bendrucker deleted the issue/429 branch December 8, 2022 03:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

aws_elasticache_cluster_previous_type panics on empty string
1 participant