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

WIP: Implement agD for testing dom graph ##analysis #22127

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

trufae
Copy link
Collaborator

@trufae trufae commented Aug 3, 2023

  • Mark this if you consider it ready to merge
  • I've added tests (optional)
  • I wrote some lines in the book (optional)

Description

Copilot

RGraph *dg = r_graph_dom_tree (g->graph, root);
if (dg) {
R_LOG_INFO ("pwn");
r_graph_free (g->graph);
Copy link
Member

Choose a reason for hiding this comment

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

this likely causes segfaults, because the domtree nodes do not copy from the original graph, but point to the nodes from the original graph

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

better leak than double free

@trufae
Copy link
Collaborator Author

trufae commented Feb 17, 2024

@condret can u chk this pr so we can merge it before 5.9?

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.

None yet

3 participants