epan: Increase timezone buffer size

Some internationalized strings can exceed this size and become
truncated with encoding errors.

Fixes #18562.
This commit is contained in:
João Valverde 2022-10-28 14:19:35 +01:00
parent b1bd41a1ae
commit 267954cda2
1 changed files with 1 additions and 1 deletions

View File

@ -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;