Commit 777b413c authored by Kai Vehmanen's avatar Kai Vehmanen

Enforce USERNAME size limit.

darcs-hash:20071115165530-77cd4-9641cd7ced5df007fa71b85f0c24237c06222d22.gz
parent 8edc463b
......@@ -449,6 +449,8 @@ stun_finish_long (uint8_t *msg, size_t *restrict plen,
if (realm != NULL)
{
/*if (utf32_strlen (realm) > 127))
return EINVAL;*/
val = stun_append_string (msg, len, STUN_REALM, realm);
if (val)
return val;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment