Skip to content

Backport !1017 “gdatetime: Avoid an assertion failure when parsing some ISO 8601 dates” to glib-2-60

Some malformed ISO 8601 date/time strings were causing an assertion failure when passed to g_date_time_new_from_iso8601(), due to a mismatch between the bounds checking of timezone offsets in GDateTime and GTimeZone. Fix that and add a unit test for it.

(Trivial backport of !1017 (merged).)

oss-fuzz#16101

Signed-off-by: Philip Withnall withnall@endlessm.com

Merge request reports