gtimer: Ensure arithmetic is correctly signed for ISO 8601 parsing8c844291b78ee634a0ce2b826d7d8f2cff87c604240/head
commit8c844291b78ee634a0ce2b826d7d8f2cff87c604
authorPhilip Withnall <withnall@endlessm.com>
Fri, 10 Aug 2018 09:43:37 +0000 (10 10:43 +0100)
committerPhilip Withnall <withnall@endlessm.com>
Fri, 10 Aug 2018 09:43:37 +0000 (10 10:43 +0100)
tree39cdd6fdd9fe837d6b61c76b1df0be5bc0f2a70d
parent0d271223d894e9c69b7fa6b7983511f8ad770682
gtimer: Ensure arithmetic is correctly signed for ISO 8601 parsing

When calculating the value of a timezone offset, ensure that any offsets
done with negative numbers are done in a signed integer.

oss-fuzz#9815

Signed-off-by: Philip Withnall <withnall@endlessm.com>
glib/gtimer.c