passthrough_ll: initialize unused memory
authorMiklos Szeredi <mszeredi@redhat.com>
Wed, 15 Aug 2018 08:36:31 +0000 (10:36 +0200)
committerNikolaus Rath <Nikolaus@rath.org>
Wed, 10 Oct 2018 09:49:48 +0000 (10:49 +0100)
commit33e8796d56a0f102ec1928503c8be94741c4935e
treeb9b4fe34d7bbd9f78dd5a2cea9e2ebf9254c32e2
parent7c08db3f93c82a6d1bedb6a32740ef30896d86e6
passthrough_ll: initialize unused memory

For '.' and '..' entries only the file type in e.attr.st_mode and the inode
number in e.attr.st_ino are used.  But it's prudent to at least initialize
the other fields of struct fuse_entry_param as well, instead of using
random values from the stack.
example/passthrough_ll.c