copyinstr(9) takes parameter 'len' as a size_t *, not int *.

PR:		kern/91293
Submitted by:	"Pedro f. Giffuni" <giffunip asme org>
Obtained from:	NetBSD
This commit is contained in:
delphij 2009-05-29 06:04:26 +00:00
parent 5abf6d12a5
commit 0339972dd9

View File

@ -120,7 +120,8 @@ svr4_add_socket(td, path, st)
struct stat *st;
{
struct svr4_sockcache_entry *e;
int len, error;
size_t len;
int error;
e = malloc(sizeof(*e), M_TEMP, M_WAITOK);
e->cookie = NULL;