aboutsummaryrefslogtreecommitdiff
path: root/src/zenutil/authutils.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2026-03-21 10:46:32 +0100
committerGitHub Enterprise <[email protected]>2026-03-21 10:46:32 +0100
commit079b537ed51ed14761545af178a1d47e3291f451 (patch)
treee4a4717783bb84add40bb5fcd58a2d59ff285a55 /src/zenutil/authutils.cpp
parentauth fail no cache (#871) (diff)
downloadzen-main.tar.xz
zen-main.zip
fix null stats provider crash when build store is not configured (#875)HEADmain
- 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/zenutil/authutils.cpp')
0 files changed, 0 insertions, 0 deletions