]> git.karo-electronics.de Git - mv-sheeva.git/commit
NFS: Buffer overflow in ->decode_dirent() should not be fatal
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 20 Nov 2010 17:22:20 +0000 (12:22 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 22 Nov 2010 18:24:43 +0000 (13:24 -0500)
commit463a376eae1c92a66c912af539bfd4bbefa37673
treeb6bc0eb099669ead19ef97f27c7e0b65d38bdb82
parentb47d19de2c714020ba8f5545a6e7d4968f37eb45
NFS: Buffer overflow in ->decode_dirent() should not be fatal

Overflowing the buffer in the readdir ->decode_dirent() should not lead to
a fatal error, but rather to an attempt to reread the record in question.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs2xdr.c
fs/nfs/nfs3xdr.c
fs/nfs/nfs4xdr.c