Commit Graph

9 Commits

Author SHA1 Message Date
Salvatore Mesoraca
f163953b27
Use error name instead of number in tests 2023-07-18 13:52:59 +02:00
Salvatore Mesoraca
e61426f7ae
Add keyed SipHash tests 2023-07-18 10:29:51 +02:00
Salvatore Mesoraca
fb23ece797
Add tests for memsan bug
Changes originally made by Robert Schulze (@rschu1ze)
2023-07-18 10:29:50 +02:00
Robert Schulze
03628bde42
Fix hashing of const integer values 2023-06-01 12:54:34 +00:00
Alexander Tokmakov
9a2b3afb7e
Revert "Fix msan issue in keyed siphash" 2023-06-01 15:02:32 +03:00
Robert Schulze
fb6c4f2802
Fix msan issue, pt. II 2023-05-30 08:51:44 +00:00
Robert Schulze
ad4a21034f
Fix msan issue in keyed siphash
Issue:
https://s3.amazonaws.com/clickhouse-test-reports/0/ffdd91669471f4934704f98f0191524496b4e85b/fuzzer_astfuzzermsan/report.html

Repro:
SELECT hex(sipHash128ReferenceKeyed((toUInt64(2), toUInt64(-9223372036854775807)))) GROUP BY (toUInt64(506097522914230528), toUInt64(now64(2, NULL + NULL), 1084818905618843912)), toUInt64(2), NULL + NULL, char(-2147483649, 1)

Minimal repro:
SELECT sipHash64Keyed((2::UInt64, toUInt64(2)), 4) GROUP BY toUInt64(2)
2023-05-25 17:52:03 +00:00
HarryLeeIBM
50a5422110 Fix siphash128 related tests for s390x 2023-03-15 07:18:28 -07:00
Raúl Marín
7c539fa475 Improve add-test and fix name of test 2023-02-01 11:21:20 +01:00