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

Fix panic when checking whether an expression is null #297

Merged
merged 1 commit into from May 29, 2019

Conversation

wata727
Copy link
Member

@wata727 wata727 commented May 29, 2019

Fix #295

When checking whether an expression is null, it evaluates the expression before making sure that that is evaluable. As a result, it may cause unexpected errors.

Unfortunately, I have not confirmed whether this actually causes panic, but I think that the behavior may change with or without tfstate.

@wata727 wata727 merged commit d7a28a8 into master May 29, 2019
@wata727 wata727 deleted the fix_panic_is_null_expr branch May 29, 2019 16:02
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.

TFLint crashes with Panic: runtime error: invalid memory address or nil pointer dereference
1 participant