]> git.ipfire.org Git - thirdparty/freeswitch.git/commit
Add immediate sanity check on untrusted length
authorTravis Cross <tc@traviscross.com>
Tue, 8 Apr 2014 21:04:59 +0000 (21:04 +0000)
committerTravis Cross <tc@traviscross.com>
Tue, 8 Apr 2014 21:08:02 +0000 (21:08 +0000)
commit1636550176af250d8606618e29f46181bc8d189f
tree3da650277c9cb6365e2118cb7a89234aad1ac642
parent711e49c46af4b6d7d96949d991082b2df3c8409a
Add immediate sanity check on untrusted length

We were actually checking this indirectly in the loop that follows,
but it's more clear to check this immediately and directly.
src/switch_stun.c