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

Segfault in Expression analyzer found with fuzzer #19755

Closed
alexey-milovidov opened this issue Jan 28, 2021 · 0 comments · Fixed by #19763
Closed

Segfault in Expression analyzer found with fuzzer #19755

alexey-milovidov opened this issue Jan 28, 2021 · 0 comments · Fixed by #19763
Assignees
Labels
bug Confirmed user-visible misbehaviour in official release fuzz Problem found by one of the fuzzers

Comments

@alexey-milovidov
Copy link
Member

alexey-milovidov commented Jan 28, 2021

Describe the bug

The query:

SELECT
    (current_database = currentDatabase()) AND (type = 0),
    ((current_database = currentDatabase()) AND (type = NULL)) AND (type = NULL) AND ((current_database = currentDatabase()) AND (type = 1048575)) AND (type = NULL) AND (event_date >= yesterday())
FROM system.query_log
ARRAY JOIN ProfileEvents
WHERE ProfileEvents AND (current_database = currentDatabase())
ORDER BY event_time DESC NULLS FIRST
LIMIT 0

crashes the server.

Most likely introduced here: #16618

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Confirmed user-visible misbehaviour in official release fuzz Problem found by one of the fuzzers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants