Copy hostname for DNS_LOCAL_HOSTLIST_IS_DYNAMIC==1 since string passed to dns_local_addhost() might be volatile

This commit is contained in:
goldsimon
2010-01-08 14:42:09 +00:00
parent 79c88cdcfd
commit 39717b2d9d
2 changed files with 19 additions and 5 deletions

View File

@@ -33,6 +33,10 @@ HISTORY
++ Bugfixes:
2010-01-08: Simon Goldschmidt
* dns.c: Copy hostname for DNS_LOCAL_HOSTLIST_IS_DYNAMIC==1 since string
passed to dns_local_addhost() might be volatile
2010-01-07: Simon Goldschmidt
* timers.c, tcp.h: Call tcp_timer_needed() with NO_SYS==1, too