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 ZUNION hang in syntax error #1559

Merged
merged 2 commits into from
Jul 7, 2023

Conversation

enjoy-binbin
Copy link
Member

Bug was introduced in #1502, without this return, when syntax
error happen, the code will stuck in the while loop and
result a hang.

Bug introduce in apache#1502, without this return, when syntax
error happen, the code will stuck in the while loop and
result a hang.
Copy link
Member

@git-hulk git-hulk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, good catch! 👍

@enjoy-binbin
Copy link
Member Author

this could be a security issue if there is a release that includes this command
i see 2.5 RC include it, please make sure patch it

@git-hulk
Copy link
Member

git-hulk commented Jul 6, 2023

this could be a security issue if there is a release that includes this command i see 2.5 RC include it, please make sure patch it

Yes, 2.5.0 is voting now, but I'm not sure if we should cancel the vote. This bug would cause the server to be trapped in the dead loop. cc @tisonkun @torwig @torwig @ShooterIT @ColinChamber

@git-hulk
Copy link
Member

git-hulk commented Jul 7, 2023

Thanks all, merging...

@git-hulk git-hulk merged commit d39e198 into apache:unstable Jul 7, 2023
@enjoy-binbin enjoy-binbin deleted the fix_zunion_hang branch July 7, 2023 02:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants