While troubleshooting some annoying crash dumps in a multi-threaded application, I noticed that there are several files in snmplib/*.c which are using the gethostbyname() routines which are NOT thread safe.

Do these gethostbyname() routines need to be converted to gethostbyname_r or getaddrinfo() so that they are thread safe?

  -vikas




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to