mergerfs/vendored/libfuse/lib
Antonio S. Musumeci 861d52ceb3 libfuse: small safety and portability fixes across opt/cpu/fusermount/maintenance_thread
- fuse_opt: reformat process_opt_param to project style; return the
  rv from sscanf through a named local so the error branch prints
  the failing option cleanly.

- cpu.cpp: when parsing /sys/devices/system/cpu/*/topology/core_id,
  bail out cleanly on stream read failure rather than recording an
  uninitialized core_id.

- fusermount: free(copy) on the success path of parsing the mount
  option (previously leaked on every mount), and replace the fixed-
  buffer sprintf into procfile with snprintf bounded by the buffer
  size.

- maintenance_thread: widen the iteration count from int to u64
  so a long-lived daemon doesn't wrap after ~68 years of ticks
  (real effect: silence signed-overflow warnings under UBSan).
2026-04-18 01:00:51 -04:00
..
cpu.cpp libfuse: small safety and portability fixes across opt/cpu/fusermount/maintenance_thread 2026-04-18 01:00:51 -04:00
cpu.hpp Move 3rd party libraries to "vendored" directory 2026-03-02 01:09:16 -05:00
crc32b.cpp Convert vendored/libfuse C sources to C++17 2026-03-24 21:13:34 -04:00
crc32b.h Move 3rd party libraries to "vendored" directory 2026-03-02 01:09:16 -05:00
debug.cpp log: default debug log path to empty; skip set when empty 2026-04-18 00:59:08 -04:00
format.cpp Move fmtlib to vendored and upgrade to 12.1.0 2026-03-02 01:09:16 -05:00
fuse.cpp libfuse: harden fuse.cpp against NULL nodes; use lock guards; check allocations 2026-04-18 01:00:11 -04:00
fuse_cfg.cpp Move 3rd party libraries to "vendored" directory 2026-03-02 01:09:16 -05:00
fuse_dirents.cpp Move 3rd party libraries to "vendored" directory 2026-03-02 01:09:16 -05:00
fuse_i.hpp libfuse: remove userdata from init/destroy APIs; drop unused fuse_reply_ioctl_iov 2026-04-18 00:59:52 -04:00
fuse_loop.cpp libfuse: thread_pool/objpool/fuse_loop - safer memory and iteration 2026-04-18 01:00:32 -04:00
fuse_lowlevel.cpp libfuse: remove userdata from init/destroy APIs; drop unused fuse_reply_ioctl_iov 2026-04-18 00:59:52 -04:00
fuse_msgbuf.cpp More aggressive error handing with pagesize queries 2026-03-24 21:13:34 -04:00
fuse_opt.cpp libfuse: small safety and portability fixes across opt/cpu/fusermount/maintenance_thread 2026-04-18 01:00:51 -04:00
fuse_req.cpp Move 3rd party libraries to "vendored" directory 2026-03-02 01:09:16 -05:00
fuse_session.cpp libfuse: harden fuse.cpp against NULL nodes; use lock guards; check allocations 2026-04-18 01:00:11 -04:00
fuse_signals.cpp libfuse: use atomic fuse_session pointer in signal handler 2026-04-18 01:00:19 -04:00
helper.cpp Additional check for ENOTCONN on mount 2026-03-24 21:13:34 -04:00
lock.h Move 3rd party libraries to "vendored" directory 2026-03-02 01:09:16 -05:00
maintenance_thread.cpp libfuse: small safety and portability fixes across opt/cpu/fusermount/maintenance_thread 2026-04-18 01:00:51 -04:00
mount.cpp Convert vendored/libfuse C sources to C++17 2026-03-24 21:13:34 -04:00
mount.hpp Convert vendored/libfuse C sources to C++17 2026-03-24 21:13:34 -04:00
mount_bsd.h Convert vendored/libfuse C sources to C++17 2026-03-24 21:13:34 -04:00
mount_generic.h Fallback to fusermount3 where available 2026-03-24 21:13:34 -04:00
mount_util.h replace raw C-strings with std::string in converted libfuse files 2026-03-24 21:13:34 -04:00
node.cpp Move 3rd party libraries to "vendored" directory 2026-03-02 01:09:16 -05:00
node.hpp Move 3rd party libraries to "vendored" directory 2026-03-02 01:09:16 -05:00
pin_threads.cpp Move 3rd party libraries to "vendored" directory 2026-03-02 01:09:16 -05:00
pin_threads.hpp Move 3rd party libraries to "vendored" directory 2026-03-02 01:09:16 -05:00
xalloc.hpp libfuse: harden fuse.cpp against NULL nodes; use lock guards; check allocations 2026-04-18 01:00:11 -04:00