Open GoogleCodeExporter opened 9 years ago
Another possible fix would be to use getservbyname_r, which is reentrant, but
is non-standard and is not guaranteed to be available on all platforms.
Original comment by joshrick...@gmail.com
on 5 Jun 2013 at 6:35
Previous patch was incorrect as we still had a pointer to static memory which
could be overwritten by another thread.
Original comment by joshrick...@gmail.com
on 5 Jun 2013 at 7:08
Attachments:
Original issue reported on code.google.com by
joshrick...@gmail.com
on 5 Jun 2013 at 6:34