mirror of https://github.com/sipwise/rtpengine.git
The loop is 1-based, but checks the outside of bounds with `i <= 1`. If the length is 1 and iterator is 1, this already fails. Hence allow `i` to be 1, and also check it's not beyound the media array length. Change-Id: I9112fc88155fa53205c04ef35b00f6573b6816b3mr26.1
parent
31375ca349
commit
6611e15d12
Loading…
Reference in new issue