From c5df77504c145d4b369b4bc45b192fe77fce9a78 Mon Sep 17 00:00:00 2001 From: Dean Chen <862469039@qq.com> Date: Wed, 22 Jul 2026 12:55:37 +0500 Subject: [PATCH] out_azure_blob: increase buffer path buffer size buffer_dir and azure_blob_buffer_key are joined into a fixed stack buffer in azure_blob_store_init(). Size 64 truncates longer paths; use 1024 and keep snprintf bounds via sizeof(tmp). Fixes #12062 Signed-off-by: Dean Chen <862469039@qq.com> --- plugins/out_azure_blob/azure_blob_store.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/out_azure_blob/azure_blob_store.c b/plugins/out_azure_blob/azure_blob_store.c index 0d478bbb3ec..37d6cb49a73 100644 --- a/plugins/out_azure_blob/azure_blob_store.c +++ b/plugins/out_azure_blob/azure_blob_store.c @@ -252,7 +252,7 @@ int azure_blob_store_init(struct flb_azure_blob *ctx) { int type; time_t now; - char tmp[64]; + char tmp[1024]; struct tm *tm; struct flb_fstore *fs; struct flb_fstore_stream *fs_stream;