From f118c23c603f5aff9ab7fe8ace5d44f8f9d496a2 Mon Sep 17 00:00:00 2001 From: Laan Tungir Date: Wed, 13 Aug 2025 10:40:45 -0400 Subject: [PATCH] Version v0.2.28 - fixed format truncation warnings by increasing buffer size --- otp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/otp.c b/otp.c index 58c263b..f23f3a2 100644 --- a/otp.c +++ b/otp.c @@ -2560,7 +2560,7 @@ int handle_file_encrypt(void) { int ascii_armor = (atoi(format_input) == 2) ? 1 : 0; // Generate default output filename - char default_output[512]; + char default_output[1024]; // Increased buffer size to prevent truncation warnings if (ascii_armor) { snprintf(default_output, sizeof(default_output), "%s.otp.asc", input_file); } else {