Skip to content

Prevent IDE crash for malformed recovery DB - #2429

Merged
bfiete merged 1 commit into
beefytech:masterfrom
zerkawei:fix-recovery
May 17, 2026
Merged

bfiete merged 1 commit into
beefytech:masterfrom
zerkawei:fix-recovery

Conversation

@zerkawei

@zerkawei zerkawei commented Apr 9, 2026

Copy link
Copy Markdown
Contributor

This PR fixes a crash that happened because of an unhandled error in the recovery db read in case of malformed data.

@bfiete
bfiete merged commit 33a36c2 into beefytech:master May 17, 2026
6 checks passed
@bfiete

bfiete commented May 17, 2026

Copy link
Copy Markdown
Collaborator

Also note that the dataSize reading line could have been written as if (int32 dataSize = fs.Read<int32>()) which I personally find nicer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants