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: crash using nil ref pointer #1688

Merged
merged 2 commits into from
Jun 6, 2024
Merged

fix: crash using nil ref pointer #1688

merged 2 commits into from
Jun 6, 2024

Conversation

matt2e
Copy link
Collaborator

@matt2e matt2e commented Jun 6, 2024

I was getting a crash when doing this:
ftl build go-runtime/compile/testdata
We were returning a nil pointer but then didn't check for nil

@matt2e matt2e requested a review from alecthomas as a code owner June 6, 2024 06:58
@matt2e matt2e requested review from a team and worstell and removed request for a team June 6, 2024 06:58
@ftl-robot ftl-robot mentioned this pull request Jun 6, 2024
@matt2e matt2e force-pushed the matt2e/handle-nil-ref branch from f2a29db to 858ab90 Compare June 6, 2024 22:35
@matt2e matt2e merged commit 551eb48 into main Jun 6, 2024
36 checks passed
@matt2e matt2e deleted the matt2e/handle-nil-ref branch June 6, 2024 23:01
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.

2 participants