Initialize padding to zero.
authorNikolaus Rath <Nikolaus@rath.org>
Thu, 14 Jan 2016 17:21:51 +0000 (09:21 -0800)
committerNikolaus Rath <Nikolaus@rath.org>
Thu, 14 Jan 2016 17:38:31 +0000 (09:38 -0800)
This should prevent some valgrind warnings.

lib/fuse_lowlevel.c

index c5108f73858bbb7b626ca4584940c9ef7e43645f..542d7ae35406018e462af4d85865bfeb765ffdca 100755 (executable)
@@ -2263,6 +2263,7 @@ int fuse_lowlevel_notify_store(struct fuse_chan *ch, fuse_ino_t ino,
        outarg.nodeid = ino;
        outarg.offset = offset;
        outarg.size = size;
+       outarg.padding = 0;
 
        iov[0].iov_base = &out;
        iov[0].iov_len = sizeof(out);