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

Don't crash if a BEAM's compile_info does not include key options #13

Merged
merged 1 commit into from
Nov 11, 2023
Merged

Don't crash if a BEAM's compile_info does not include key options #13

merged 1 commit into from
Nov 11, 2023

Conversation

kivra-pauoli
Copy link
Contributor

Such is the case with e.g. certifi.beam, as expressed in the linked issue. Fixes #9.

Note: the crash was being eaten up, internally, by a try-catch. We don't "fix" that, we just prevent the crash.

Such is the case with e.g. certifi

Note: the crash was being eaten up, internally, by a try-catch
We don't fix that, we just avoid the crash
@crownedgrouse
Copy link
Owner

Thanks for this PR.

@crownedgrouse crownedgrouse merged commit 33d3ed1 into crownedgrouse:master Nov 11, 2023
1 check passed
@kivra-pauoli kivra-pauoli deleted the fix/crash-on-beam-without-options-in-compile_info branch November 13, 2023 08:49
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.

geas_beam.hrl's is_native_from_file/1 crashes for missing compile_info "key"
2 participants