]> git.ipfire.org Git - thirdparty/curl.git/commit
asyn-ares: use the duped hostname pointer for all calls
authorDaniel Stenberg <daniel@haxx.se>
Thu, 9 Oct 2025 15:23:56 +0000 (17:23 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 9 Oct 2025 20:03:59 +0000 (22:03 +0200)
commit71585f9894cf97ed6719487cb03aa97d2f94b7cd
treeaea3468d14a31f2fafada4f46e4883bc2fa7daeb
parent435da1f849ad9a5e91b8e348d6830b0c546ac15a
asyn-ares: use the duped hostname pointer for all calls

In one c-ares call the passed in pointer was used and not the new
duplicated one. This is probably fine but might as well use the new
pointer as all the other calls do, which will survive longer.

Reported-by: Joshua Rogers
Closes #18980
lib/asyn-ares.c