From 24cf57d9169fee943c7512368971fbdea077cd04 Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Tue, 14 Apr 2026 22:28:02 -0500 Subject: [PATCH] Auto-commit fusermount.cpp --- vendored/libfuse/util/fusermount.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendored/libfuse/util/fusermount.cpp b/vendored/libfuse/util/fusermount.cpp index 0325fae7..299d13cd 100644 --- a/vendored/libfuse/util/fusermount.cpp +++ b/vendored/libfuse/util/fusermount.cpp @@ -992,7 +992,7 @@ static int check_perm(const char **mntp, struct stat *stbuf, int *mountpoint_fd) return -1; } - sprintf(procfile, "/proc/self/fd/%i", *mountpoint_fd); + snprintf(procfile,sizeof(procfile),"/proc/self/fd/%i",*mountpoint_fd); *mntp = procfile; } else { fprintf(stderr,