提交 ac630504 authored 作者: Mike Jerris's avatar Mike Jerris

Merge pull request #1582 in FS/freeswitch from…

Merge pull request #1582 in FS/freeswitch from ~DRAGOS_OANCEA_NX/freeswitch-dragos-nx:fix/FS-11384/stun_attrs_no_val to master

* commit '164b41d8':
  FS-11384: stun: fix for when parsing incoming packets that contain attributes with no value (like USE_CANDIDATE)
......@@ -331,8 +331,6 @@ SWITCH_DECLARE(switch_stun_packet_t *) switch_stun_packet_parse(uint8_t *buf, ui
bytes_left -= alen; /* attribute value consumed, substract padded length */
if (alen == 0) break;
xlen += 4 + alen;
attr = (switch_stun_packet_attribute_t *) (attr->value + alen);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论