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

Replace strdup() with ares_strdup() #408

Merged
merged 1 commit into from Jun 30, 2021
Merged

Conversation

jeanpierrecartal
Copy link
Contributor

[BUG] #407

@bradh352 bradh352 merged commit 11a2bf8 into c-ares:master Jun 30, 2021
sergepetrenko pushed a commit to tarantool/c-ares that referenced this pull request Jul 29, 2022
strdup() is used in src/lib/ares_parse_a_reply.c and src/lib/ares_parse_aaaa_reply.c whereas allocated memory is freed using ares_free().

Bug: 407
Fix By: Jean-pierre Cartal (@jeanpierrecartal)
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

2 participants