osmo-sgsn/openbsc
Jacob Erlbeck 6fb6c12258 gbproxy: Fix stored msgbs in gbproxy_flush_stored_messages
Currently the last message received is patched with the meta
information of each stored message. This can lead to invalid memory
accesses.

This commit replaces msg by stored_msg in the call to
gbproxy_patch_bssgp.

Note that the fix has not been validated by unit tests yet.

Addresses:
  Program received signal SIGSEGV, Segmentation fault.
  #0  memmove () at ../sysdeps/i386/i686/memmove.S:68
  #1  0x08052ee9 in gprs_msgb_resize_area at gprs_utils.c:99
  #2  0x0804f4de in gbproxy_patch_apn_ie at gb_proxy_patch.c:108
  #3  0x0804f7cd in gbproxy_patch_llc at gb_proxy_patch.c:253
  #4  0x0804f9cb in gbproxy_patch_bssgp at gb_proxy_patch.c:348
  #5  0x0804abf5 in gbproxy_flush_stored_messages at gb_proxy.c:347

Ticket: OW#1550
Sponsored-by: On-Waves ehf
2015-12-17 08:33:56 +01:00
..
contrib systemd: use Wants for the dependency btw. osmo-bsc-mgcp and osmo-bsc 2014-11-11 17:59:49 +01:00
doc gtphub: add to debian build 2015-11-30 11:30:36 +01:00
include gtphub: lose obsolete comment. 2015-11-24 12:52:13 +01:00
src gbproxy: Fix stored msgbs in gbproxy_flush_stored_messages 2015-12-17 08:33:56 +01:00
tests sgsn: Added TODOs (TODO) 2015-11-30 13:35:33 +01:00
tools hlrstat: Print numeric MCC/MNC in case no name is available 2010-01-01 15:08:38 +01:00
.gitignore Add GTP hub initial code base. 2015-11-16 15:16:26 +01:00
AUTHORS add sylvain and andreas as authors 2010-01-10 18:21:33 +01:00
COPYING License change: We are now AGPLv3+ instead of GPLv2+ 2011-01-01 15:39:34 +01:00
Makefile.am Fix "make distcheck" 2015-06-19 20:57:48 +02:00
README update README with URL of the homepage 2010-05-04 08:10:18 +02:00
configure.ac Depend on libgtp >= 0.92, as previous versions don't have gtpie.h installed 2015-11-20 10:40:07 +01:00
git-version-gen automatically include program version and print it from vty and --version 2010-03-23 00:09:32 +08:00
openbsc.pc.in Install gsm_04_08.h and required headers into a openbsc/ 2010-02-16 17:51:42 +01:00
osmoappdesc.py gtphub: add to osmoappdesc.py 2015-11-30 12:09:06 +01:00

README

About OpenBSC
=============

OpenBSC is a minimalistic implementation of the GSM Network, with
particular emphasis on the functionality typically provided by the BSC,
MSC, HLR, VLR and SMSC.

Its currently supported interfaces towards the BTS are:

 * Classic A-bis over E1 using a mISDN based E1 interface. In other
   words, you can connect existing GSM Base Transceiver Station (BTS)
   through E1 to OpenBSC.  So far, we have only tested the Siemens BS-11
   Test reports with other BTS are much appreciated!

 * A-bis over IP as used by the ip.access nanoBTS product family

You can find the project documentation at http://openbsc.gnumonks.org/

This project is still in its early days, and there are lots of areas where it
doesn't behave as per GSM spec.

	Harald Welte <laforge@gnumonks.org>


libosmocore
===========

Please note that as of March 2010, OpenBSC has a dependency to a library
called "libosmocore".  You can obtain that library from

	git://git.osmocom.org/libosmocore.git