Re: AUDIT of 2.5.15 copy_to/from_user

David S. Miller (davem@redhat.com)
Fri, 07 Jun 2002 01:54:18 -0700 (PDT)


From: Alan Cox <alan@lxorguk.ukuu.org.uk>
Date: Sun, 19 May 2002 13:13:41 +0100 (BST)

> arch/sparc/kernel/sys_sunos.c:481: ret = copy_to_user(&name->sname[0], &system_utsname.sysname[0], sizeof(name->sname) - 1);

Very broken.

> arch/sparc64/kernel/sys_sparc32.c:3675: return copy_to_user(res32, kres, sizeof(*res32));

Looks very borked in several other spots

I've taken care of these bits in my tree and double checked each file
in it's entirety.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/