mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-03 00:00:24 -04:00
vici: Increase buffer to hold uint64_t when parsing packet limits
This commit is contained in:
parent
ed8c08fbe7
commit
245ea0597d
@ -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)))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user