• Michael Stahl's avatar
    extensions: GCC 7 -Werror=format-truncation · e55ee82f
    Michael Stahl yazdı
    Given a valid DateTime, the "buffer" is too small by 1 because
    Year can be negative with 4 digits.
    
    Most of the problem is that invalid DateTimes would overflow
    by up to 14 bytes; throw IllegalArgumentException for obviously
    invalid DateTime.
    
    Change-Id: I8af109425d5681b1b28454917664401a5404f251
    e55ee82f
csvformatter.cxx 10.1 KB