Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
14 lines
451 B
Diff
14 lines
451 B
Diff
Zero-initialize unset fields of `struct fuse_operations`.
|
|
<https://github.com/kedazo/fuse-7z-ng/pull/8>
|
|
--- a/src/main.cpp
|
|
+++ b/src/main.cpp
|
|
@@ -195,7 +195,7 @@ main (int argc, char **argv)
|
|
mkdir(param.mountpoint, 0750);
|
|
}
|
|
|
|
- struct fuse_operations fuse7z_oper;
|
|
+ struct fuse_operations fuse7z_oper = {0};
|
|
fuse7z_oper.init = fuse7z_init;
|
|
fuse7z_oper.destroy = fuse7z_destroy;
|
|
fuse7z_oper.readdir = fuse7z_readdir;
|