• Jakob Kummerow's avatar
    [ubsan] Fix Clusterfuzz-found bugs · a8aa4b4e
    Jakob Kummerow authored
    Smi::LexicographicCompare: signed integer overflow on negation.
    Drive-by improvement: reduce number of branches.
    
    RegExpQuantifier: signed integer overflow on multiplication.
    
    DateCache::DaylightSavingsOffsetInMs: signed integer overflow
    on addition.
    
    Bug: v8:3770,chromium:923466,chromium:923642,chromium:923626
    Change-Id: If7d995a13893d1315449ee0bab8b5f2553e170f5
    Reviewed-on: https://chromium-review.googlesource.com/c/1436229Reviewed-by: 's avatarYang Guo <yangguo@chromium.org>
    Commit-Queue: Jakob Kummerow <jkummerow@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#59143}
    a8aa4b4e
date.cc 14.8 KB