Commit 0f798e75 authored by Dafydd Harries's avatar Dafydd Harries

don't assume that StunMessage->attributes is not NULL

darcs-hash:20070201124922-c9803-f957e0dc8d4e479d5dbf2270ac851213fe9e8927.gz
parent e0b4af8e
......@@ -435,6 +435,7 @@ _handle_stun (
* --> send error
*/
if (msg->attributes)
for (attr = msg->attributes; *attr; attr++)
if ((*attr)->type == STUN_ATTRIBUTE_USERNAME)
{
......
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