aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2026-03-17 18:27:51 +0100
committerStefan Boberg <[email protected]>2026-03-17 18:27:51 +0100
commitca448881b759435c1a1f98e1e0dc7882bd96a3db (patch)
tree1f9accb31e3475a1511a5fa65481079d4f1661d7 /README.md
parentFix silent exit when second zenserver instance detects port conflict (diff)
downloadzen-sb/compute-batch.tar.xz
zen-sb/compute-batch.zip
Fix two potential SIGSEGV paths during early startupsb/compute-batch
- sentryintegration.cpp: sentry_options_new() can return nullptr on OOM; all subsequent sentry_options_set_* calls would immediately SIGSEGV. Guard with an early return that sets m_SentryErrorCode = -1 so Close() correctly skips sentry_close(). - zenserver.cpp: ZenServerState::Register() returns nullptr if the shared memory entry table is full. The subsequent Entry->SignalHasInstanceInfo(), Entry->SignalNoNetwork(), Entry->AddSponsorProcess(), and DoRun(Entry) calls would all SIGSEGV. Throw a descriptive runtime_error instead, which is caught by the existing catch handlers in Run().
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions