From: Paul Menage --- linux/net/unix/af_unix.c~ Tue Jan 29 00:05:14 2002 +++ linux/net/unix/af_unix.c Wed Feb 6 15:41:52 2002 @@ -1017,6 +1017,9 @@ } if (!other) { + err = -ECONNRESET; + if(sunaddr==NULL) + goto out_free; other = unix_find_other(sunaddr, namelen, sk->type, hash, &err); if (other==NULL) goto out_free;