]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
NFS: Prevent integer overflow in nfs_scan_list()
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Sun, 17 Jun 2007 19:47:53 +0000 (15:47 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 11 Jul 2007 03:40:27 +0000 (23:40 -0400)
commitdce34ce298d85b81630401f4feb4bd7ac77fe9c7
tree9caa66cd3f03d500fdef5df290de23695589026d
parent2aefa104313996d1a9582476cee53d1296c834bf
NFS: Prevent integer overflow in nfs_scan_list()

Also ensure that nfs_inode ncommit and npages are large enough to represent
all possible values for the number of pages.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/pagelist.c
include/linux/nfs_fs.h