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

Attributes need reference counting #71

Open
ptesarik opened this issue Feb 24, 2023 · 1 comment
Open

Attributes need reference counting #71

ptesarik opened this issue Feb 24, 2023 · 1 comment
Assignees
Labels

Comments

@ptesarik
Copy link
Owner

Attributes can be used after deallocation (see e.g. osandov/drgn#280). That's because an explicit or implicit (like in the above case) reference may still exist after the attribute is cleared.

@ptesarik ptesarik self-assigned this Feb 24, 2023
@ptesarik ptesarik added the bug label Feb 24, 2023
@ptesarik
Copy link
Owner Author

Actually, this specific issue can be solved without reference counting, and that's going to be faster. I'll open another issue for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant