-
Notifications
You must be signed in to change notification settings - Fork 68
Needs testing - gnome-rr.c: Migrate from g_memdup() go g_memdup2() #209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Virtually no difference between the functions except for byte_size becoming a gsize. This is a measure to mitigate integer overflows. See: https://docs.gtk.org/glib/func.memdup2.html https://discourse.gnome.org/t/port-your-module-from-g-memdup-to-g-memdup2-now/5538
this need also dump version of libglib2.0-dev in d/control: libglib2.0-dev (>= 2.68) |
Yeah. That's why LMDE is failing. We can do a version check (for a few lines is pointless) or backport libglib. Personally I would leave this aside and, @Fantu should we put this patch in Debian? |
the security issue (https://security-tracker.debian.org/tracker/CVE-2021-27219) is already solved in debian so is not urgent apply this FWIK and we can wait do be applied upstream first edit: about other components cjs resolved it in latest rebase, muffin big rebase was on older version from Focal and still use g_memdup, mutter replaced it 1 year ago https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1708 |
Hi, We no longer need to support LMDE 5. On our side it's OK to depend on libglib2.0-dev (>= 2.68). |
Virtually no difference between the functions except for
byte_size becoming a gsize.
This is a measure to mitigate integer overflows.
See:
https://docs.gtk.org/glib/func.memdup2.html
https://discourse.gnome.org/t/port-your-module-from-g-memdup-to-g-memdup2-now/5538
I still need to test this, don't accept yet