Re: large copy_to_user fills only one page?

Andi Kleen (ak@muc.de)
30 May 2002 17:16:53 +0200


Emmanuel Michon <emmanuel_michon@realmagic.fr> writes:

> case DOGRAB:
> char *u_p,*k_p;
> copy_from_user(u_p,arg,sizeof(char *));
^^^
You copy into random stack garbage here. After that it goes downwards.

-Andi
-
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/