vici: Increase buffer to hold uint64_t when parsing packet limits

This commit is contained in:
Tobias Brunner 2025-04-07 14:59:11 +02:00
parent ed8c08fbe7
commit 245ea0597d

View File

@ -1183,7 +1183,7 @@ CALLBACK(parse_uint32_bin, bool,
CALLBACK(parse_uint64, bool, CALLBACK(parse_uint64, bool,
uint64_t *out, chunk_t v) uint64_t *out, chunk_t v)
{ {
char buf[16], *end; char buf[32], *end;
unsigned long long l; unsigned long long l;
if (!vici_stringify(v, buf, sizeof(buf))) if (!vici_stringify(v, buf, sizeof(buf)))