akumuli/Akumuli

Resp parser accepts 84 digit integers as valid.

skuna opened this issue · 1 comments

skuna commented

In file akumulid/resp.cpp:46 while parsing an 64bit integer a maximum number of 84 digits is allowed in an integer string representation const int MAX_DIGITS = 84 + 2.
But the maximum number of digits in the biggest u64 value (18446744073709551615) is 20.
Overflow also doesn't seem to be handled.

Lazin commented

Fixed in v0.8.68