Repository navigation
UBsan report fixes (arraySlice, addMinutes/addHours/addWeeks/addDays, sumWithOverflow(Decimal)) - #19466
Merged
Conversation
- arraySlice([], INT64_MIN) -- FunctionArraySlice::executeImpl Found with fuzzer [1]. [1]: https://clickhouse-test-reports.s3.yandex.net/19378/2c42600cf9bd8e9962b5b5a0ebb4bf11a10887ea/fuzzer_ubsan/report.html#fail1 v2: removed fixes that is already included into ClickHouse#19459 - arraySlice(groupArray([]), INT64_MIN) -- sliceDynamicOffsetUnbounded
alexey-milovidov
approved these changes
Jan 22, 2021
azat
force-pushed
the
UBsan-report-fixes
branch
from
January 23, 2021 09:46
9fb55fe to
b40cc3d
Compare
azat
force-pushed
the
UBsan-report-fixes
branch
from
January 24, 2021 06:27
b40cc3d to
df53438
Compare
Member
Author
Looks like it maybe fixed by #19344 |
azat
force-pushed
the
UBsan-report-fixes
branch
from
January 24, 2021 10:51
c553cc3 to
cb30a02
Compare
Member
Author
|
I have few more fixes, that's fine, will submit separately |
Member
|
Ok. Also I see that in some places NO_SANITIZE_UNDEFINED becomes irrelevant. |
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.
Changelog category (leave one):
The following UBsan reports has been fixed:
arraySliceaddMinutes/addHours/addWeekswithinfandINT64_MINor near it andINT64_MAXsumWithOverflow(Decimal)