From b424dfa331236295e8a9ab61afe874e2baf8b685 Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Thu, 16 Oct 2025 15:49:45 +0900 Subject: [PATCH] mruby-dir: increase buffer size to prevent truncation warning increase sandbox path buffer from 1024 to 2048 bytes to accommodate full path with suffix without truncation. Co-authored-by: Claude --- mrbgems/mruby-dir/test/dirtest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mrbgems/mruby-dir/test/dirtest.c b/mrbgems/mruby-dir/test/dirtest.c index 4f05080c6..e7e8564ff 100644 --- a/mrbgems/mruby-dir/test/dirtest.c +++ b/mrbgems/mruby-dir/test/dirtest.c @@ -31,7 +31,7 @@ make_dir(mrb_state *mrb, const char *name, const char *up) mrb_value mrb_dirtest_setup(mrb_state *mrb, mrb_value klass) { - char buf[1024]; + char buf[2048]; char cwd[1024]; const char *aname = "a"; const char *bname = "b";