Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(core): fix potential infinite recursion on reading empty segment #2229

Merged
merged 1 commit into from
Dec 17, 2024

Conversation

SCNieh
Copy link
Contributor

@SCNieh SCNieh commented Dec 16, 2024

Fix the StackOverflow: S0...Si...SN, a total of N + 1 segments. Among them, the logSize of Si is 0 and Si.startOffset is not equal to Si-1.endOffset.

superhx
superhx previously approved these changes Dec 17, 2024
Signed-off-by: Shichao Nie <niesc@automq.com>
@superhx superhx merged commit 48eeb81 into 1.3 Dec 17, 2024
6 checks passed
@superhx superhx deleted the fix_read_1_3 branch December 17, 2024 03:43
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.

None yet

2 participants