Re: AUDIT of 2.5.15 copy_to/from_user

From: David S. Miller (davem@redhat.com)
Date: Fri Jun 07 2002 - 03:54:18 EST


   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/



This archive was generated by hypermail 2b29 : Fri Jun 07 2002 - 22:00:30 EST