diff options
author | Chen Gang <gang.chen@asianux.com> | 2013-07-03 22:02:36 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-03 23:07:31 (GMT) |
commit | 9bde916bc73255dcee3d8aded990443675daa707 (patch) | |
tree | 5f8487f28ba847ff7b7ddf1df6493ba20d555ebd /kernel/cred.c | |
parent | dacbde0963d62a4962d5e8a5cc38dfd1f016124b (diff) | |
download | linux-fsl-qoriq-9bde916bc73255dcee3d8aded990443675daa707.tar.xz |
mm/nommu.c: add additional check for vread() just like vwrite() has done
vwrite() checks for overflow. vread() should do the same thing.
Since vwrite() checks the source buffer address, vread() should check
the destination buffer address.
Signed-off-by: Chen Gang <gang.chen@asianux.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Michel Lespinasse <walken@google.com>
Cc: Rik van Riel <riel@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/cred.c')
0 files changed, 0 insertions, 0 deletions