]> git.karo-electronics.de Git - karo-tx-linux.git/commit
hfsplus: fix potential overflow in hfsplus_file_truncate()
authorVyacheslav Dubeyko <slava@dubeyko.com>
Wed, 17 Apr 2013 22:58:33 +0000 (15:58 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 26 Apr 2013 04:23:47 +0000 (21:23 -0700)
commit7c72cbc040d7160849369d59166f7be32d1991fd
tree1f3cb2fbc549abb931c3d1ad834cd51f1404897f
parentaab5c5ca241d159f81e002aebb828c3c75bf4682
hfsplus: fix potential overflow in hfsplus_file_truncate()

commit 12f267a20aecf8b84a2a9069b9011f1661c779b4 upstream.

Change a u32 to loff_t hfsplus_file_truncate().

Signed-off-by: Vyacheslav Dubeyko <slava@dubeyko.com>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Hin-Tak Leung <htl10@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/hfsplus/extents.c