commit | 4703e304922ed38edc887215dd4ac926ed08c72f | [log] [tgz] |
---|---|---|
author | Dominique Martinet <dominique.martinet@cea.fr> | Wed Feb 01 13:40:25 2017 |
committer | Kaleb S. KEITHLEY <kkeithle@redhat.com> | Tue Feb 07 21:47:08 2017 |
tree | 04a2cf4efd8f5776dcf8adb63c6b2925c8d5779c | |
parent | cce011dce9e91e6cb65d3e72a915c260d52b87f4 [diff] |
various: fix gcc7isms Fedora 26 (rawhide) has just updated to gcc7 which is significantly pickier about several things. In particular: - 9P: add checks to make sure we never overflow our buffers - nfs4 recovery: cidstr_len has to be at least 20 bytes long to store any "%zi" format, even if it won't be that long in practice - nfs4 recovery ip_match was just wrong, we were checking if the client ip matches the server hostname ?! - nfs4 exchange id: stop storing cid_server_owner/cid_server_scope in the client struct, which lets us work around a possible overrun. - proxy: only for systems where long isn't 64 bits, need to fill the verifier differently Change-Id: Ib56fcfe86b589c74ffb362f65e5e5203177401f1 Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr>
NFS-Ganesha is an NFSv3,v4,v4.1 fileserver that runs in user mode on most UNIX/Linux systems. It also supports the 9p.2000L protocol.
For more information, consult the project wiki.