query, report https://gist.github.com/alesapin/c91d9ffd65471c4d8b595219a26a601a.
Full report
https://clickhouse-test-reports.s3.yandex.net/19412/cc2788af881c96701076b366259bc99525d926b1/fuzzer_asan/report.html#fail1
private:
    
    
    
    
    Values lut[DATE_LUT_SIZE];
    
    DayNum years_lut[DATE_LUT_YEARS];
    
    DayNum years_months_lut[DATE_LUT_YEARS * 12];
    
    time_t offset_at_start_of_epoch;
    bool offset_is_whole_number_of_hours_everytime;
    
    std::string time_zone;
    
    
    inline DayNum findIndex(time_t t) const
    {
        
        DayNum guess(t / 86400);
        
        if ((guess == 0 || t >= lut[guess].date) && t < lut[DayNum(guess + 1)].date)
            return guess;
        
        if (t >= lut[DayNum(guess + 1)].date)
            return DayNum(guess + 1);
        return DayNum(guess - 1);
    }
    inline const Values & find(time_t t) const