Christopher Faylor wrote:
Thanks for the patch, but I went out of my way to avoid freeing the
buffer when I maded changes to dup_ent a couple of weeks ago. I don't
want to revert to doing that again, so I've just used the return value
in all cases.
Thanks for taking care of that. My
In net.cc, there are several cases where dup_ent() is used as follows:
dup_ent (servent_buf, getservbyname (name, proto), t_servent);
syscall_printf (%p = getservbyname (%s, %s),
_my_tls.locals.servent_buf, name, proto);
return _my_tls.locals.servent_buf;
This presents a problem if