fix #6215~15757
This commit is contained in:
parent
c79a95c7d2
commit
051ccdf0e7
@ -128,7 +128,8 @@ TALER_string_to_amount (const char *str,
|
||||
n = *value - '0';
|
||||
if ( (amount->value * 10 < amount->value) ||
|
||||
(amount->value * 10 + n < amount->value) ||
|
||||
(amount->value > MAX_AMOUNT_VALUE) )
|
||||
(amount->value > MAX_AMOUNT_VALUE) ||
|
||||
(amount->value * 10 + n > MAX_AMOUNT_VALUE) )
|
||||
{
|
||||
GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
|
||||
"Value specified in amount `%s' is too large\n",
|
||||
|
Loading…
Reference in New Issue
Block a user