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

Fixes #756: add judgement of macros allocation status #762

Merged
merged 1 commit into from
Sep 29, 2022

Conversation

zoziha
Copy link
Contributor

@zoziha zoziha commented Sep 25, 2022

If the macros member is not allocated but is accessed, an access error will occur.

Short-sightedly, adding a judgement of macro allocation status would fix #756.

Copy link
Member

@awvwgk awvwgk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch. Thanks for sharing.

@awvwgk awvwgk merged commit 4fb72da into fortran-lang:main Sep 29, 2022
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.

Bug: Segmentation fault accessing macros array
2 participants