Commit Graph

5 Commits

Author SHA1 Message Date
alexey-milovidov
b67e2cee35
Update BitHelpers.h 2020-08-02 19:12:46 +03:00
alexey-milovidov
ae572c3a7e
Update BitHelpers.h 2020-08-02 19:09:51 +03:00
Azat Khuzhin
c5e230eb53 Return passed number for numbers with MSB set in roundUpToPowerOfTwoOrZero()
Otherwise roundUpToPowerOfTwoOrZero() will return 0 for then, and this
will cause 0 memory allocated and eventually SIGSEGV, like in [1].

  [1]: https://clickhouse-test-reports.s3.yandex.net/13201/5eaf39d3faf0abdd425cca9b7ee5778b06aad716/fuzzer/fuzzer.log#fail1
2020-08-02 12:55:33 +03:00
Vasily Nemkov
3d471556fb Merge commit '73b0f8db8c327a1d63cc7ebcc56087a3f9866dae' into SIMD_tokenization 2020-04-06 20:05:02 +03:00
Ivan Lezhankin
06446b4f08 dbms/ → src/ 2020-04-03 18:14:31 +03:00