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

NTP: ensure parser name is not freed after registration #3149

Closed
wants to merge 1 commit into from

Conversation

chifflier
Copy link
Contributor

Make sure these boxes are signed before submitting your Pull Request -- thank you.

Link to redmine ticket:
2414

Describe changes:

  • The parser name allocated in rs_register_ntp_parser is passed to the C layer to register the parser, which stores the pointer.
    However, if a CString is allocated for that, it is freed at function exit.
  • Ensure parser name is not freed after registration

@victorjulien
Copy link
Member

Merged in #3157, thanks!

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

Successfully merging this pull request may close these issues.

2 participants