add assertion to be more defensive against buffer overflow (cannot happen, but this better protects against future changes)
This commit is contained in:
parent
d55050652d
commit
a7746c8153
@ -282,6 +282,7 @@ parse_refresh_link_ok (struct TALER_EXCHANGE_RefreshLinkHandle *rlh,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* clean up */
|
/* clean up */
|
||||||
|
GNUNET_assert (off_coin <= num_coins);
|
||||||
for (i=0;i<off_coin;i++)
|
for (i=0;i<off_coin;i++)
|
||||||
{
|
{
|
||||||
if (NULL != sigs[i].rsa_signature)
|
if (NULL != sigs[i].rsa_signature)
|
||||||
|
Loading…
Reference in New Issue
Block a user