calendarspec: fix possible integer overflow
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 7 Apr 2019 15:37:31 +0000 (00:37 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 7 Apr 2019 15:50:07 +0000 (00:50 +0900)
commitdaa4aca1cb45445fb19b3711538f0576a2b1c346
tree8d8e42b174743f57bce38511371182f24e1c0afd
parentfb3ba5ec119ba067e01dde2672d276ed48d2c366
calendarspec: fix possible integer overflow

Fixes oss-fuzz#14108.
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=14108
src/shared/calendarspec.c
test/fuzz/fuzz-calendarspec/oss-fuzz-14108 [new file with mode: 0644]