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

This commit is contained in:
Christian Grothoff 2017-10-06 21:32:33 +02:00
parent d55050652d
commit a7746c8153
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -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)