summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage_test.cpp
diff options
context:
space:
mode:
authorTianjie <xunchang@google.com>2020-04-15 16:30:39 -0700
committerTianjie <xunchang@google.com>2020-04-15 16:32:42 -0700
commit426bf3a1f19255b9b8afd18c2d867b9644bdd12e (patch)
treeb2439a62b4217582aed6060bf38b1c31302e4c5c /trusty/coverage/coverage_test.cpp
parent0b708cba86d04442cffe5d76bb11e90fa03f8155 (diff)
Handle the invalid timestamp in zipfile
The month field is one based in the zipfile modification time. And it causes an overflow converting it to struct tm. Switch to type to signed integer to suppress the sub-overflow. Bug: 153882979 Test: parse the problematic zipfile Change-Id: Iaf47bcc7f83d61b18c9e7a98bb6ab3936c9257e3
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions