summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2016-10-04 11:06:05 +0200
committerHarald Welte <laforge@gnumonks.org>2016-10-05 05:48:11 +0000
commit63c18ca791efb5225a356d505607c14cb8e41fff (patch)
tree13278532bdf6b13f0ee0ce14a700c509f4e76c27
parent33163979212119c6c52d5c4c731a03707710be73 (diff)
DTX: extend SID cache
In addition to RTP payload SID cache got to store CMR/CMI prefix. Extend the buffer so it can fit in. Change-Id: Ibd4a63604a82cad3ce65f0752bffefa4b083e1b3 Fixes: Coverity CID#149508
-rw-r--r--openbsc/include/openbsc/gsm_data_shared.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/include/openbsc/gsm_data_shared.h b/openbsc/include/openbsc/gsm_data_shared.h
index 368ac6bf0..fc6c525f4 100644
--- a/openbsc/include/openbsc/gsm_data_shared.h
+++ b/openbsc/include/openbsc/gsm_data_shared.h
@@ -295,7 +295,7 @@ struct gsm_lchan {
struct {
struct amr_multirate_conf amr_mr;
struct {
- uint8_t buf[16];
+ uint8_t buf[18];
uint8_t len;
uint32_t fn;
bool is_update;