https://github.com/torvalds/linux
Revision 6fc34436be2494c6fea63dc0759be9b360d9480a authored by Tkhai Kirill on 14 March 2011, 13:27:46 UTC, committed by David Howells on 14 March 2011, 14:44:30 UTC
Using __get_user_check(x, ptr++, size) leads to double increment of pointer.
This macro uses the macro get_user directly, which itself is used in this way
(get_user(x, ptr++)) in some functions of the kernel. The patch fixes the
error.

Reported-by: Tkhai Kirill <tkhai@yandex.ru>
Signed-off-by: David Howells <dhowells@redhat.com>
1 parent c44ed96
History
Tip revision: 6fc34436be2494c6fea63dc0759be9b360d9480a authored by Tkhai Kirill on 14 March 2011, 13:27:46 UTC
MN10300: Proper use of macros get_user() in the case of incremented pointers
Tip revision: 6fc3443
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 941 bytes
.mailmap -rw-r--r-- 4.0 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.7 KB
Kbuild -rw-r--r-- 2.4 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 187.2 KB
Makefile -rw-r--r-- 50.9 KB
README -rw-r--r-- 17.1 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top