[syslog-ng] [Bug 212] strange hostnames from /etc/hosts with threaded(yes);

bugzilla at bugzilla.balabit.com bugzilla at bugzilla.balabit.com
Tue Dec 11 22:25:58 CET 2012


--- Comment #7 from Gergely Nagy <algernon at balabit.hu>  2012-12-11 22:25:58 ---
Aha, I think I know what's up. In resolve_sockaddr(), we're calling gethostbyaddr(), which is not reentrant, so threads go and overwrite each others data.
Similar to how we use getaddrinfo() when available, we should use getnameinfo() when available, instead of gethostbyaddr().

Thanks for the report, I'll prepare a patch as soon as possible.

Configure bugmail: https://bugzilla.balabit.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.

More information about the syslog-ng mailing list