Files
asterisk/main
Scott Griepentrog d0495f4139 stun: correct attribute string padding to match rfc
When sending the USERNAME attribute in an RTP STUN
response, the implementation in append_attr_string
passed the actual length, instead of padding it up
to a multiple of four bytes as required by the RFC
3489.  This change adds separate variables for the
string and padded attributed lengths, and performs
padding correctly.

Reported by: Thomas Arimont
Review: https://reviewboard.asterisk.org/r/4139/


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@427874 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2014-11-14 15:46:30 +00:00
..
2014-05-09 22:28:40 +00:00
2012-06-15 16:20:16 +00:00
2014-05-09 22:28:40 +00:00
2014-11-02 08:03:18 +00:00
2012-03-24 02:42:42 +00:00
2013-08-20 15:27:16 +00:00
2012-06-15 16:20:16 +00:00
2014-10-10 12:55:56 +00:00
2014-05-09 22:28:40 +00:00
2014-09-12 18:18:44 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2012-12-11 00:34:46 +00:00
2014-05-09 22:28:40 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2013-09-10 17:56:56 +00:00
2014-05-09 22:28:40 +00:00
2012-04-28 01:33:49 +00:00
2013-08-30 19:16:20 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00