GNOME Bugzilla – Bug 749698
Avoid a silent long to int truncation
Last modified: 2015-07-17 13:20:29 UTC
If the python object contains a value bigger than MAXUINT we'd silently truncate it when assigning to 'val' and the if condition would always be true. This was caught but a coverity scan.
Created attachment 303784 [details] [review] Avoid a silent long to int truncation
Review of attachment 303784 [details] [review]: LGTM, thanks.
Thanks, pushed to all of these: 5af6c72..8aa3d59 master -> master 0de8271..ae73849 pygobject-3-14 -> pygobject-3-14 5cfe5b5..deb3abc pygobject-3-16 -> pygobject-3-16 Attachment 303784 [details] pushed as deb3abc - Avoid a silent long to int truncation