diff options
Diffstat (limited to 'src/regex/regex_block_lib.c')
-rw-r--r-- | src/regex/regex_block_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/regex/regex_block_lib.c b/src/regex/regex_block_lib.c index 69c6bbc1fe..b352082cbb 100644 --- a/src/regex/regex_block_lib.c +++ b/src/regex/regex_block_lib.c @@ -403,7 +403,7 @@ REGEX_BLOCK_create (const char *proof, for (i=0;i<num_edges;i++) { slen = strlen (edges[i].label); - if (len > UINT16_MAX) + if (slen > UINT16_MAX) { GNUNET_break (0); return NULL; |