Fix potential race in route table load 94/4994/4 4.4.0
authorE. Scott Daniels <daniels@research.att.com>
Thu, 5 Nov 2020 14:11:04 +0000 (09:11 -0500)
committerE. Scott Daniels <daniels@research.att.com>
Thu, 5 Nov 2020 15:29:33 +0000 (10:29 -0500)
commit5ec64c5253b3b7611ec69cc1487989fae45eca26
tree749b168efc48f7b28e3e9bd276265be1ad7c9333
parentfcea3951d44de0cc55d33c5e114487abe79d3406
Fix potential race in route table load

If route tables are received in quick succession there is a potential
race condition that can cause the xAPPs thread to use a stale pointer
likely resulting in a segfault.

Issue-ID: RIC-674

Signed-off-by: E. Scott Daniels <daniels@research.att.com>
Change-Id: I5536d3f30646dca0ed375468719fa3cf0920c103
Signed-off-by: E. Scott Daniels <daniels@research.att.com>
18 files changed:
CHANGES_CORE.txt
CMakeLists.txt
doc/src/rst.im
docs/rel-notes.rst
src/rmr/common/include/rmr_agnostic.h
src/rmr/common/src/rt_generic_static.c
src/rmr/common/src/rtc_static.c
src/rmr/common/src/symtab.c
src/rmr/common/src/wormholes.c
src/rmr/si/include/rmr_si_private.h
src/rmr/si/src/rmr_si.c
src/rmr/si/src/rtable_si_static.c
src/rmr/si/src/sr_si_static.c
test/rmr_si_rcv_test.c
test/rmr_si_test.c
test/rt_static_test.c
test/symtab_test.c
test/test_ctx_support.c