2005-11-04 10:06:24

by Miklos Szeredi

[permalink] [raw]
Subject: Bug: nfsd ignores return value from vfs_getattr()

In fs/nfsd/nfs3xdr.c encode_fattr3() the return value from
vfs_getattr() is ignored.

This causes the server to send bogus (random stack contents) values as
attributes. This affects exported FUSE filesystems, and possibly
others which may return an error from ->getattr() (e.g. reexported
NFS).

Miklos




-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs