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

The variable paUsageProgName is not set to NULL after being freed #2926

Closed
kzangeli opened this issue Jun 5, 2017 · 1 comment
Closed

The variable paUsageProgName is not set to NULL after being freed #2926

kzangeli opened this issue Jun 5, 2017 · 1 comment
Assignees
Labels
Milestone

Comments

@kzangeli
Copy link
Member

kzangeli commented Jun 5, 2017

In paParse() the buffer that the variable paUsageProgName references is freed but the variable is not set to NULL. It still points to the freed buffer and because of this it is used later. Only luck makes the whole thing work (more or less) but this must be fixed.

@kzangeli kzangeli self-assigned this Jun 5, 2017
@kzangeli kzangeli added this to the 1.8.0 milestone Jun 5, 2017
@fgalan
Copy link
Member

fgalan commented Jun 5, 2017

Fixed by PR #2927

@fgalan fgalan closed this as completed Jun 5, 2017
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

2 participants