Skip to content

Fix ubsan errors#5037

Merged
vitlibar merged 3 commits intoClickHouse:masterfrom
vitlibar:fix-ubsan-errors
Apr 17, 2019
Merged

Fix ubsan errors#5037
vitlibar merged 3 commits intoClickHouse:masterfrom
vitlibar:fix-ubsan-errors

Conversation

@vitlibar
Copy link
Copy Markdown
Member

@vitlibar vitlibar commented Apr 17, 2019

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

Category (leave one):

  • Build/Testing/Packaging Improvement

Fixed several ubsan errors:

  • fix ubsan error "outside the range of representable values" in convertFieldToType.cpp;
  • fix ubsan error "load of misaligned address" in contrib/libmetrohash/src/platform.h;
  • disable ubsan error "outside the range of representable values" in bitSwapLastTwo.cpp.

@vitlibar vitlibar requested a review from proller April 17, 2019 16:28
@vitlibar vitlibar removed the request for review from proller April 17, 2019 16:32
@alexey-milovidov alexey-milovidov self-assigned this Apr 17, 2019
@vitlibar vitlibar merged commit 345ae9a into ClickHouse:master Apr 17, 2019
@vitlibar vitlibar deleted the fix-ubsan-errors branch April 17, 2019 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants