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 eaa471685dbbe343c7a76e9f6bf865e87ba9a321..d20042a3e5c3842b04b0a4d15f528aa8d999eca1 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)