Comment.
authorBodo Möller <bodo@openssl.org>
Sat, 15 May 1999 12:22:46 +0000 (12:22 +0000)
committerBodo Möller <bodo@openssl.org>
Sat, 15 May 1999 12:22:46 +0000 (12:22 +0000)
crypto/bio/b_sock.c

index eaa4716..d20042a 100644 (file)
@@ -363,7 +363,7 @@ struct hostent *BIO_gethostbyname(const char *name)
 
                /* else add to cache */
                if (ghbn_cache[lowi].ent != NULL)
-                       ghbn_free(ghbn_cache[lowi].ent);
+                       ghbn_free(ghbn_cache[lowi].ent); /* XXX not thread-safe */
                ghbn_cache[lowi].name[0] = '\0';
 
                if((ret=ghbn_cache[lowi].ent=ghbn_dup(ret)) == NULL)