diff options
author | Harald Welte <laforge@gnumonks.org> | 2015-12-28 21:03:10 +0100 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-05-25 12:33:47 +0000 |
commit | ed04fcc1792246b35c5586d16d6683a85d09d257 (patch) | |
tree | 6ace39e7067b2761f0bcfff9ff344f30cc84a25f /debian | |
parent | aea28ceb273c237ee5826addfdbdb9d0331bf132 (diff) |
rtp_proxy.c: Ensure msgb_alloc is large enough for largest AMR frame
In AMR 12.2 (mode 7), the actual RTP payload is 33 bytes. Howeerver,
as we store the length of the (dynamically-sized) AMR payload in the
first byte, our buffer needs at least 33+1 byte in size.
Change-Id: If1ad5d2d68c85733306c75ea62f67fe8fbc143b3
Reviewed-on: https://gerrit.osmocom.org/91
Tested-by: Jenkins Builder
Reviewed-by: Harald Welte <laforge@gnumonks.org>
Diffstat (limited to 'debian')
0 files changed, 0 insertions, 0 deletions