[PATCH] openbsc[master]: DTX: extend SID cache

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Max gerrit-no-reply at lists.osmocom.org
Tue Oct 4 09:07:57 UTC 2016


Review at  https://gerrit.osmocom.org/1002

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
---
M openbsc/include/openbsc/gsm_data_shared.h
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/openbsc refs/changes/02/1002/1

diff --git a/openbsc/include/openbsc/gsm_data_shared.h b/openbsc/include/openbsc/gsm_data_shared.h
index 368ac6b..fc6c525 100644
--- a/openbsc/include/openbsc/gsm_data_shared.h
+++ b/openbsc/include/openbsc/gsm_data_shared.h
@@ -295,7 +295,7 @@
 	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;

-- 
To view, visit https://gerrit.osmocom.org/1002
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibd4a63604a82cad3ce65f0752bffefa4b083e1b3
Gerrit-PatchSet: 1
Gerrit-Project: openbsc
Gerrit-Branch: master
Gerrit-Owner: Max <msuraev at sysmocom.de>



More information about the gerrit-log mailing list