summaryrefslogtreecommitdiff
path: root/sw/qa/extras
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2017-09-07 14:12:25 +0200
committerMichael Stahl <mstahl@redhat.com>2017-09-07 14:16:12 +0200
commite55ee82f519064319dddcd3dc4553c6580dcd93a (patch)
tree3fdf432466aad81290730626a511aaa4a85ee106 /sw/qa/extras
parent3829949e91c578bc9e99858ec170f0c6736d9828 (diff)
extensions: GCC 7 -Werror=format-truncation
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
Diffstat (limited to 'sw/qa/extras')
0 files changed, 0 insertions, 0 deletions