query, report https://gist.github.com/alesapin/c91d9ffd65471c4d8b595219a26a601a.
Full report
https://clickhouse-test-reports.s3.yandex.net/19412/cc2788af881c96701076b366259bc99525d926b1/fuzzer_asan/report.html#fail1
{
        return lut[d].days_in_month;
    }
    inline UInt8 daysInMonth(time_t t) const
    {
        return find(t).days_in_month;
    }
    inline UInt8 daysInMonth(UInt16 year, UInt8 month) const
    {
        
        DayNum any_day_of_month = DayNum(years_lut[year - DATE_LUT_MIN_YEAR] + 32 * (month - 1));
        return lut[any_day_of_month].days_in_month;
    }
    /** Round to start of day, then shift for specified amount of days.
      */
    inline time_t toDateAndShift(time_t t, Int32 days) const
    {
        return lut[DayNum(findIndex(t) + days)].date;
    }
    inline time_t toTime(time_t t) const
    {
        DayNum index = findIndex(t);
        if (unlikely(index == 0))
            return t + offset_at_start_of_epoch;
        time_t res = t - lut[index].date;
        if (res >= lut[index].time_at_offset_change)
            res += lut[index].amount_of_offset_change;
        return res - offset_at_start_of_epoch; 
    }
    inline unsigned toHour(time_t t) const