diff options
| author | Stefan Boberg <[email protected]> | 2026-03-17 18:27:51 +0100 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2026-03-17 18:27:51 +0100 |
| commit | ca448881b759435c1a1f98e1e0dc7882bd96a3db (patch) | |
| tree | 1f9accb31e3475a1511a5fa65481079d4f1661d7 /README.md | |
| parent | Fix silent exit when second zenserver instance detects port conflict (diff) | |
| download | zen-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