From 31ee2205586e146b088a7a31dd6ecb48a694a556 Mon Sep 17 00:00:00 2001 From: Laan Tungir Date: Wed, 13 Aug 2025 15:41:54 -0400 Subject: [PATCH] Version v0.2.51 - Fixed all struct buffer sizes to eliminate compile warnings --- otp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/otp.c b/otp.c index ee04fbd..f4b72c5 100644 --- a/otp.c +++ b/otp.c @@ -46,9 +46,9 @@ static const int base64_decode_table[256] = { // USB Pad structure for external drive detection struct USBPadInfo { char chksum[65]; // 64-char checksum + null terminator - char pad_path[512]; // Full path to .pad file - char state_path[512]; // Full path to .state file - char mount_point[256]; // USB mount point for display + char pad_path[1024]; // Full path to .pad file + char state_path[1024]; // Full path to .state file + char mount_point[1024]; // USB mount point for display uint64_t state_offset; // Current state offset };