Fix AST fuzzer crash in MergeTreeIndex{FullText|Inverted}#54563
Merged
rschu1ze merged 3 commits intoClickHouse:masterfrom Sep 13, 2023
Merged
Fix AST fuzzer crash in MergeTreeIndex{FullText|Inverted}#54563rschu1ze merged 3 commits intoClickHouse:masterfrom
rschu1ze merged 3 commits intoClickHouse:masterfrom
Conversation
Contributor
|
This is an automated comment for commit 8c7a256 with description of existing statuses. It's updated for the latest CI running ❌ Click here to open a full report in a separate page Successful checks
|
dab6b0d to
28068f1
Compare
|
|
||
| if (const_value.getType() == Field::Types::Float64) | ||
| { | ||
| out.function = const_value.get<Float64>() != 0.0 ? RPNElement::ALWAYS_TRUE : RPNElement::ALWAYS_FALSE; |
Member
There was a problem hiding this comment.
Do we want to check if float equal to zero or if all bits are zeroes? please notice that float can be -0 in which case sign bit is 1...
Member
Author
There was a problem hiding this comment.
The comparison was stolen from other code parts which do the same.
But you are right. If possible, allow me to make another PR because such changes may have some fallout.
yakov-olkhovskiy
approved these changes
Sep 13, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #54541
The check /
LOGICAL_ERRORonly exists in debug builds, official builds are not affected --> "Not for changelog".Changelog category (leave one):