Skip to content

Backport !1791 “gdatetime: Disallow NAN as a number of seconds in a GDateTime” to glib-2-66

The fiendish thing about NAN is that it never compares TRUE against anything, so the limit checks seconds < 0.0 || seconds >= 60.0 were never triggering.

oss-fuzz#28473

Signed-off-by: Philip Withnall pwithnall@endlessos.org


Trivial backport of !1791 (merged) to glib-2-66.

Merge request reports