commit | c44b50c147b0941e8ff1880e9ff9bf8bb4e05825 | [log] [tgz] |
---|---|---|
author | Oliver Smith <osmith@sysmocom.de> | Thu Jul 13 13:23:27 2023 +0200 |
committer | laforge <laforge@osmocom.org> | Mon Jul 17 07:06:44 2023 +0000 |
tree | 89012152a8ef01d4ba088e41cc70123dbe18776e | |
parent | 7724fb717b437ed513786ff1c8b8736b0b966070 [diff] |
gbprox_rx_ptp_from_bss: fix dangling pointer Building with gcc (Debian 12.2.0-14) 12.2.0 and --enable-werror fails without this during "make distcheck": ../../../src/gb_proxy.c:450:24: error: storing the address of local variable 'tp' in '((struct libgb_msgb_cb *)msg)[2].bssgp_cell_id' [-Werror=dangling-pointer=] 450 | msgb_bcid(msg) = (void *)&tp; This means that gcc now warns (and we turn that into an error) if one assigns the address of a local (stack) variable to something allocated on the heap, and doesn't remove that reference before ending the function (invalidating the stack). Related: OS#6057 Change-Id: Ie51e37572993cb5dc24ecf13bc300225f09cb744
osmo-gbproxy is a proxy for the Gb interface within the 3GPP GERAN (GPRS/EDGE RAN) architecture. It is part of the Osmocom Open Source Mobile Communications projects.
It allows you to aggregate many Gb links/connections into one. It also has the ability to convert between different Gb interface protocol stacking, such as from Gb-over-FrameRelay to Gb-over-IP.
Until 2021 it used to be part of the osmo-sgsn git repository, and before that (until 2017) part of openbsc.git
Find the issue tracker and wiki online at https://osmocom.org/projects/osmo-gbproxy and https://osmocom.org/projects/osmo-gbproxy/wiki, respectively.
You can find the user manual at https://ftp.osmocom.org/docs/latest/osmogbproxy-usermanual.pdf and the VTY reference manual at https://ftp.osmocom.org/docs/latest/osmogbproxy-vty-reference.pdf.