aboutsummaryrefslogtreecommitdiff
path: root/src/wire-plugins/plugin_wire_taler-bank.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wire-plugins/plugin_wire_taler-bank.c')
-rw-r--r--src/wire-plugins/plugin_wire_taler-bank.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wire-plugins/plugin_wire_taler-bank.c b/src/wire-plugins/plugin_wire_taler-bank.c
index c2282bc4b..2c967a1b2 100644
--- a/src/wire-plugins/plugin_wire_taler-bank.c
+++ b/src/wire-plugins/plugin_wire_taler-bank.c
@@ -712,6 +712,7 @@ taler_bank_execute_wire_transfer (void *cls,
origin_account_url = &buf[sizeof (struct BufFormatP)];
left = buf_size - sizeof (struct BufFormatP);
slen = strlen (origin_account_url) + 1;
+ /* make sure there's enough space to accomodate what's been taken now */
GNUNET_assert (left >= slen);
left -= slen;
if (0 == left)