From 97530c8eb3cc4952aa6c12e7af2a008650c46d78 Mon Sep 17 00:00:00 2001 From: Laan Tungir Date: Thu, 14 Aug 2025 12:38:02 -0400 Subject: [PATCH] Version v0.2.83 - Fixed all remaining buffer size warnings - eliminated all compile warnings --- otp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/otp.c b/otp.c index c38d906..95c9ebb 100644 --- a/otp.c +++ b/otp.c @@ -2748,7 +2748,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[1024]; // Increased buffer size + char user_mount_path[2048]; // Increased buffer size // Verify buffer has enough space before concatenation size_t mount_len = strlen(mount_path); size_t entry_len = strlen(user_entry->d_name);