Home
last modified time | relevance | path

Searched hist:1754 (Results 1 – 2 of 2) sorted by path

/unit/docs/
H A Dchanges.xmldiff 1754:c21309052895 Thu Dec 17 16:27:00 UTC 2020 Max Romanov <max.romanov@nginx.com> 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).
/unit/src/
H A Dnxt_router.cdiff 1754:c21309052895 Thu Dec 17 16:27:00 UTC 2020 Max Romanov <max.romanov@nginx.com> 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).