Skip to content

UBsan report fixes (arraySlice, addMinutes/addHours/addWeeks/addDays, sumWithOverflow(Decimal)) - #19466

Merged
alexey-milovidov merged 5 commits into
ClickHouse:masterfrom
azat:UBsan-report-fixes
Jan 24, 2021
Merged

alexey-milovidov merged 5 commits into
ClickHouse:masterfrom
azat:UBsan-report-fixes

Conversation

@azat

@azat azat commented Jan 22, 2021 •

Copy link
Copy Markdown
Member

Changelog category (leave one):

  • Not for changelog (changelog entry is not required)

The following UBsan reports has been fixed:

@robot-clickhouse robot-clickhouse added the pr-not-for-changelog This PR should not be mentioned in the changelog label Jan 22, 2021
@alexey-milovidov alexey-milovidov self-assigned this Jan 22, 2021
@azat
azat force-pushed the UBsan-report-fixes branch from 9fb55fe to b40cc3d Compare January 23, 2021 09:46
@azat azat changed the title UBsan report fixes (arraySlice and addMinutes/addHours/addWeeks) UBsan report fixes (arraySlice, addMinutes/addHours/addWeeks, sumWithOverflow(Decimal)) Jan 23, 2021
@azat

azat commented Jan 24, 2021

Copy link
Copy Markdown
Member Author

Integration tests (asan) — fail: 18, passed: 11, error: 20

test_materialize_mysql_database

Looks like it maybe fixed by #19344

@azat azat changed the title UBsan report fixes (arraySlice, addMinutes/addHours/addWeeks, sumWithOverflow(Decimal)) UBsan report fixes (arraySlice, addMinutes/addHours/addWeeks/addDays, sumWithOverflow(Decimal)) Jan 24, 2021
@azat
azat force-pushed the UBsan-report-fixes branch from c553cc3 to cb30a02 Compare January 24, 2021 10:51
@alexey-milovidov
alexey-milovidov merged commit 77af612 into ClickHouse:master Jan 24, 2021
@azat

azat commented Jan 24, 2021

Copy link
Copy Markdown
Member Author

I have few more fixes, that's fine, will submit separately

@alexey-milovidov

Copy link
Copy Markdown
Member

Ok. Also I see that in some places NO_SANITIZE_UNDEFINED becomes irrelevant.

@azat
azat deleted the UBsan-report-fixes branch January 24, 2021 21:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-not-for-changelog This PR should not be mentioned in the changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants