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

Prevent IDE crash for malformed recovery DB#2429
bfiete merged 1 commit into
beefytech:masterfrom
zerkawei:fix-recovery

Conversation

@zerkawei
Copy link
Copy Markdown
Contributor

@zerkawei zerkawei commented Apr 9, 2026

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
Copy link
Copy Markdown
Collaborator

bfiete commented May 17, 2026

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