From 4442837ce8557fe172dfae818737915bb2cee542 Mon Sep 17 00:00:00 2001 From: Laan Tungir Date: Wed, 13 Aug 2025 15:42:18 -0400 Subject: [PATCH] Version v0.2.52 - Final buffer size adjustments to eliminate all compile warnings --- otp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/otp.c b/otp.c index f4b72c5..a5f9650 100644 --- a/otp.c +++ b/otp.c @@ -2399,7 +2399,7 @@ int scan_usb_drives_for_pads(struct USBPadInfo** usb_pads, int* usb_count) { while ((drive_entry = readdir(drive_dir)) != NULL && count < 100) { // Look for .pad files in root of drive if (strstr(drive_entry->d_name, ".pad") && strlen(drive_entry->d_name) == 68) { - char pad_path[1024], state_path[1024]; + char pad_path[2048], state_path[2048]; snprintf(pad_path, sizeof(pad_path), "%s/%s", user_mount_path, drive_entry->d_name); // Extract checksum from filename