fix #6219
This commit is contained in:
parent
051ccdf0e7
commit
7666542ab6
@ -148,6 +148,9 @@ calculate_argument_length (va_list args)
|
|||||||
char *);
|
char *);
|
||||||
if (NULL == value)
|
if (NULL == value)
|
||||||
continue;
|
continue;
|
||||||
|
GNUNET_assert ( (len <= len + urlencode_len (value)) &&
|
||||||
|
(len <= len + urlencode_len (value) + strlen (key)) &&
|
||||||
|
(len < len + urlencode_len (value) + strlen (key) + 2) );
|
||||||
len += urlencode_len (value) + strlen (key) + 2;
|
len += urlencode_len (value) + strlen (key) + 2;
|
||||||
}
|
}
|
||||||
va_end (ap);
|
va_end (ap);
|
||||||
|
Loading…
Reference in New Issue
Block a user