biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / tools / filesystems / fuse-7z-ng / zero-init-fuse-operations.patch
blob35acdaa04542ee649ea8e2500114ecd25c7cc5dc
1 Zero-initialize unset fields of `struct fuse_operations`.
2 <https://github.com/kedazo/fuse-7z-ng/pull/8>
3 --- a/src/main.cpp
4 +++ b/src/main.cpp
5 @@ -195,7 +195,7 @@ main (int argc, char **argv)
6 mkdir(param.mountpoint, 0750);
9 - struct fuse_operations fuse7z_oper;
10 + struct fuse_operations fuse7z_oper = {0};
11 fuse7z_oper.init = fuse7z_init;
12 fuse7z_oper.destroy = fuse7z_destroy;
13 fuse7z_oper.readdir = fuse7z_readdir;