diff options
| author | Ava Hahn <a.hahn@f5.com> | 2025-01-06 18:47:47 -0800 |
|---|---|---|
| committer | Konstantin Pavlov <pavlov.konstantin@gmail.com> | 2025-01-10 13:01:46 -0800 |
| commit | 43130a58c7189384793e89c6f31b3d472a3bbc2d (patch) | |
| tree | c20c8fe57d3215c99cc5ac9d70e309b195566f6b /src/nxt_kqueue_engine.c | |
| parent | 8b1959f1185ea34df5d361ff5dcac8fdd1342046 (diff) | |
| download | unit-43130a58c7189384793e89c6f31b3d472a3bbc2d.tar.gz unit-43130a58c7189384793e89c6f31b3d472a3bbc2d.tar.bz2 | |
otel: fix segfaults when otel not configured
This commit adds NULL checks for the request->otel object that
were missed in the Traceparent and Tracestate routines.
Closes: https://github.com/nginx/unit/issues/1523
Closes: https://github.com/nginx/unit/issues/1526
Fixes: 9d3dcb800 ("otel: add build tooling to include otel code")
Signed-off-by: Ava Hahn <a.hahn@f5.com>
Diffstat (limited to 'src/nxt_kqueue_engine.c')
0 files changed, 0 insertions, 0 deletions
