mirror of https://gerrit.osmocom.org/libosmocore
777b056fb4
Fix re-initialize issue of the GPRS NS. This was found while working on the GB Proxy tests. ==27800== Invalid write of size 4 ==27800== at 0x403C263: rate_ctr_group_alloc (linuxlist.h:65) ==27800== by 0x4050974: gprs_nsvc_create (gprs_ns.c:209) ==27800== by 0x405320D: gprs_ns_instantiate (gprs_ns.c:1330) ==27800== by 0x804B212: main (gbproxy_test.c:797) ==27800== Address 0x434173c is 52 bytes inside a block of size 784 free'd ==27800== at 0x4029DA8: free (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so) ==27800== by 0x4041BBD: _talloc_free (talloc.c:609) ==27800== by 0x40432B2: talloc_free (talloc.c:578) ==27800== by 0x40532D3: gprs_ns_destroy (gprs_ns.c:1363) ==27800== by 0x804B1FE: main (gbproxy_test.c:791) |
||
---|---|---|
.. | ||
Makefile.am | ||
common_vty.c | ||
common_vty.h | ||
gprs_bssgp.c | ||
gprs_bssgp_bss.c | ||
gprs_bssgp_util.c | ||
gprs_bssgp_vty.c | ||
gprs_ns.c | ||
gprs_ns_frgre.c | ||
gprs_ns_vty.c | ||
libosmogb.map |