9p: acl: fix uninitialized iattr access
authorDominique Martinet <dominique.martinet@cea.fr>
Fri, 7 Sep 2018 15:10:57 +0000 (00:10 +0900)
committerDominique Martinet <dominique.martinet@cea.fr>
Fri, 7 Sep 2018 16:51:50 +0000 (01:51 +0900)
commite02a53d92e197706cad1627bd84705d4aa20a145
tree9c9ccc69c27cf9ee8e9331d50ae6bc0640613378
parent5e172f75e51e3de1b4274146d9b990f803cb5c2a
9p: acl: fix uninitialized iattr access

iattr is passed to v9fs_vfs_setattr_dotl which does send various
values from iattr over the wire, even if it tells the server to
only look at iattr.ia_valid fields this could leak some stack data.

Link: http://lkml.kernel.org/r/1536339057-21974-2-git-send-email-asmadeus@codewreck.org
Addresses-Coverity-ID: 1195601 ("Uninitalized scalar variable")
Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr>
fs/9p/acl.c