]> git.karo-electronics.de Git - linux-beck.git/commit
staging: lustre: check for integer overflow
authorVitaly Osipov <vitaly.osipov@gmail.com>
Sat, 26 Apr 2014 15:08:21 +0000 (01:08 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 3 May 2014 23:33:15 +0000 (19:33 -0400)
commit7bc3dfa37ba6f6ea81c362eb1993bd20c0828eae
tree4dc39efbfd6e6b6c5d6f3bcc5f62aa019fe4624c
parent37aa48368f2508defb1976be62e1ed6ca4dde683
staging: lustre: check for integer overflow

In ll_ioctl_fiemap(), a user-supplied value is used to calculate a
length of a buffer which is later allocated with user data.

Signed-off-by: Vitaly Osipov <vitaly.osipov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/llite/file.c