exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit a7746c81538d9bc9299fc045d921950875908100
parent d55050652d02d925590c6ad25a0f358165893616
Author: Christian Grothoff <christian@grothoff.org>
Date:   Fri,  6 Oct 2017 21:32:33 +0200

add assertion to be more defensive against buffer overflow (cannot happen, but this better protects against future changes)

Diffstat:
Msrc/exchange-lib/exchange_api_refresh_link.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/exchange-lib/exchange_api_refresh_link.c b/src/exchange-lib/exchange_api_refresh_link.c @@ -282,6 +282,7 @@ parse_refresh_link_ok (struct TALER_EXCHANGE_RefreshLinkHandle *rlh, } /* clean up */ + GNUNET_assert (off_coin <= num_coins); for (i=0;i<off_coin;i++) { if (NULL != sigs[i].rsa_signature)