GNOME Bugzilla – Bug 754078
GDBus: guint filter IDs can overflow
Last modified: 2018-05-24 18:10:05 UTC
+++ This bug was initially created as a clone of Bug #704568 +++ Taking the overflow issue from the above bug.
Created attachment 309959 [details] [review] handle overflow of filter ids
Colin Walters [developer] 2015-08-24 16:38:55 EDT Review of attachment 309733 [details] [review] [review]: Did you actually hit this? See also https://bugzilla.gnome.org/show_bug.cgi?id=687098 It might be worth breaking that out into more reusable code mapping guint -> object. Your implementation here has quite a major performance cliff.
FTR, no, NM didn't actually hit this, I think it was just a drive-by fix on Thomas's part. If we were going to do this, maybe we should have some abstraction of the code used for source ids in gmain
Comment on attachment 309959 [details] [review] handle overflow of filter ids The surrounding code has changed, so this no longer applies cleanly. It would be good to rework it to not use a `goto`.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/glib/issues/1075.