commit | 444a544c0c525c1fe6ccc560ae2ddcf38e6a461c | [log] [tgz] |
---|---|---|
author | Travis Cross <tc@traviscross.com> | Wed Jul 02 16:01:01 2014 +0000 |
committer | Travis Cross <tc@traviscross.com> | Wed Jul 02 17:06:24 2014 +0000 |
tree | eb2cabad50682b53ce4a54f51f92dd8db01f1b18 | |
parent | 1b8b1e7f352b50ca1a8617030049d214c414973b [diff] |
Validate passed in signed length value In other functions we check right away that the `pkt_octet_len` is greater than zero, but in `srtp_unprotect_rtcp` we were waiting until we knew the tag length, at which point we had already used the value. We'll do an initial check here to make sure the value is sane.