diff options
| author | Stefan Boberg <[email protected]> | 2026-03-21 10:46:32 +0100 |
|---|---|---|
| committer | Dan Engelbrecht <[email protected]> | 2026-03-21 11:39:29 +0100 |
| commit | 9a83357d8abe2369243552a869a8ad78f28c6fde (patch) | |
| tree | 66169d7de34176eb6593d5420aac3fe5e3a17f5b /src/zenhttp/httpserver.cpp | |
| parent | hardening of oidctoken json parsing (diff) | |
| download | zen-9a83357d8abe2369243552a869a8ad78f28c6fde.tar.xz zen-9a83357d8abe2369243552a869a8ad78f28c6fde.zip | |
fix null stats provider crash when build store is not configured (#875)
- When build store is not configured, `m_BuildCidStore` is null but was unconditionally added as a stats provider, causing a null pointer dereference crash in `StatsReporter::ReportStats`
- Added a null guard in `AddProvider` to reject null pointers defensively
- Added a conditional check at the call site in `InitializeStructuredCache`
Diffstat (limited to 'src/zenhttp/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions