From a85c4ed55baf0c8709e340c3aba9024a2363d670 Mon Sep 17 00:00:00 2001 From: Laan Tungir Date: Thu, 14 Aug 2025 12:37:28 -0400 Subject: [PATCH] Version v0.2.82 - Fixed final buffer size warning in /run/media path handling --- otp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/otp.c b/otp.c index 3a55d16..c38d906 100644 --- a/otp.c +++ b/otp.c @@ -2780,7 +2780,7 @@ int detect_otp_thumb_drive(char* otp_drive_path, size_t path_size) { // Check if drive name starts with "OTP" if (strncmp(user_entry->d_name, "OTP", 3) != 0) continue; - char user_mount_path[512]; + char user_mount_path[2048]; // Increased buffer size snprintf(user_mount_path, sizeof(user_mount_path), "%s/%s", mount_path, user_entry->d_name); // Check if this is a readable directory