Use the same mutex for gethostbyname() and gethostbyaddr() to prevent
authorFabian Keil <fk@fabiankeil.de>
Fri, 1 Jun 2007 18:16:36 +0000 (18:16 +0000)
committerFabian Keil <fk@fabiankeil.de>
Fri, 1 Jun 2007 18:16:36 +0000 (18:16 +0000)
commit9e8f57a4bb2ccb727d54fa7e05204b1e10443fdf
tree61c731253426cd3765616a423b2f5ad3990c4e08
parent408bba615fdb14b46da01e8a4e54b7cfec2093db
Use the same mutex for gethostbyname() and gethostbyaddr() to prevent
deadlocks and crashes on OpenBSD and possibly other OS with neither
gethostbyname_r() nor gethostaddr_r(). Closes BR#1729174.
Thanks to Ralf Horstmann for report and solution.
jbsockets.c
jcc.c
jcc.h