Skip to content

Fix memory leak in modsecurity::utils::expandEnv() #1750

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

Closed

Conversation

defanator
Copy link
Contributor

Found by ASAN.

vars.push_back(exp[0]);
}
delete iss;
Copy link
Contributor

Choose a reason for hiding this comment

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

indeed.

@zimmerle zimmerle self-assigned this Apr 24, 2018
@zimmerle zimmerle added the 3.x Related to ModSecurity version 3.x label Apr 24, 2018
@zimmerle zimmerle added this to the v3.0.3 milestone Apr 24, 2018
zimmerle pushed a commit that referenced this pull request Apr 24, 2018
@zimmerle
Copy link
Contributor

Merged. Thanks!

@zimmerle zimmerle closed this Apr 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.x Related to ModSecurity version 3.x
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants