From 267954cda2198ff81525b803223d7f0eed918bf0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Valverde?= Date: Fri, 28 Oct 2022 14:19:35 +0100 Subject: [PATCH] epan: Increase timezone buffer size Some internationalized strings can exceed this size and become truncated with encoding errors. Fixes #18562. --- epan/to_str.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/epan/to_str.c b/epan/to_str.c index 83e41cab3e..5f555ee2be 100644 --- a/epan/to_str.c +++ b/epan/to_str.c @@ -181,7 +181,7 @@ abs_time_to_str_ex(wmem_allocator_t *scope, const nstime_t *abs_time, field_disp { struct tm *tmp; char buf_nsecs[32]; - char buf_tzone[32]; + char buf_tzone[256]; if (fmt == BASE_NONE) fmt = ABSOLUTE_TIME_LOCAL;