From c0449e13f80312a2e09f643e1a69e536384eae79 Mon Sep 17 00:00:00 2001 From: Max Romanov Date: Thu, 17 Dec 2020 19:27:44 +0300 Subject: Router: fixed crash in OOSM processing. Multithreaded application may create different shared memory segments in different threads. The segments then passed to different router threads. Because of this multithreading, the order of adding incoming segments is not determined and there can be situation when some of the incoming segments are not initialized yet. This patch simply adds check for NULL to skip non-initialized segments. Crash reproduced during load tests with high number of simultaneous connections (1024 and more). --- docs/changes.xml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs/changes.xml') diff --git a/docs/changes.xml b/docs/changes.xml index f8198304..ca4ffe5f 100644 --- a/docs/changes.xml +++ b/docs/changes.xml @@ -35,6 +35,12 @@ bug had appeared in 1.21.0. + + +the router process could crash with multithreaded applications under high load. + + + -- cgit