]> err.no Git - linux-2.6/commit
[PATCH] drivers/isdn/sc/ioctl.c: copy_from_user() size fix
authorDomen Puncer <domen@coderock.org>
Fri, 3 Feb 2006 11:04:14 +0000 (03:04 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 3 Feb 2006 16:32:05 +0000 (08:32 -0800)
commitabffa7da99b78caaf81a2f519bf9cbd1e8dcbc1d
treef28e90613a3f01b9d867adecab778ade0c4fbf85
parent74adb52797a7cde217a8ceeaf254a5441a42a72c
[PATCH] drivers/isdn/sc/ioctl.c: copy_from_user() size fix

A few lines above the patch we have:

char *srec;
srec = kmalloc(SCIOC_SRECSIZE, GFP_KERNEL);

sizeof pointer is probably not meant here.

Signed-off-by: Domen Puncer <domen@coderock.org>
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Karsten Keil <kkeil@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/isdn/sc/ioctl.c