Skip to content

Replace strdup() with ares_strdup() - #408

Merged
bradh352 merged 1 commit into
c-ares:masterfrom
jeanpierrecartal:master
Jun 30, 2021
Merged

Replace strdup() with ares_strdup()#408
bradh352 merged 1 commit into
c-ares:masterfrom
jeanpierrecartal:master

Conversation

@jeanpierrecartal

Copy link
Copy Markdown
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.

2 participants