Skip to content
Commit 38080bad authored by Philip Withnall's avatar Philip Withnall 🚫
Browse files

gdate: Add overflow precondition checks for g_date_[add|subtract]_*()



These turn undefined or hard-to-detect misbehaviour into a well-defined
critical warning and early return.

Signed-off-by: default avatarPhilip Withnall <withnall@endlessm.com>

https://bugzilla.gnome.org/show_bug.cgi?id=335731
parent cf24867b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment