libxfce4ui-4.7.6-fix-libxfce4kbd-private-buffer-overflow.patch which fixes a buffer overflow in libxfce4kbd-private that was causing crashes on first startup - updated to 4.7.6 - update default shortcuts for xfce4-display-settings OBS-URL: https://build.opensuse.org/package/show/X11:xfce/libxfce4ui?expand=0&rev=17
13 lines
704 B
Diff
13 lines
704 B
Diff
diff -ur libxfce4ui-4.7.5.orig/libxfce4kbd-private/xfce-shortcuts-provider.c libxfce4ui-4.7.5/libxfce4kbd-private/xfce-shortcuts-provider.c
|
|
--- libxfce4ui-4.7.5.orig/libxfce4kbd-private/xfce-shortcuts-provider.c 2010-11-28 15:36:06.000000000 +0100
|
|
+++ libxfce4ui-4.7.5/libxfce4kbd-private/xfce-shortcuts-provider.c 2011-01-04 20:20:22.000000000 +0100
|
|
@@ -255,7 +255,7 @@
|
|
|
|
if (G_UNLIKELY (!already_registered))
|
|
{
|
|
- names = g_new0 (const gchar *, length + 1);
|
|
+ names = g_new0 (const gchar *, length + 2);
|
|
for (i = 0; provider_names != NULL && provider_names[i] != NULL; ++i)
|
|
names[i] = provider_names[i];
|
|
names[i++] = xfce_shortcuts_provider_get_name (provider);
|