Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.4
xfce4-panel-plugins.907
xfce4-clipman-plugin-1.1.3-catch-null-value.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xfce4-clipman-plugin-1.1.3-catch-null-value.patch of Package xfce4-panel-plugins.907
diff -ur xfce4-clipman-plugin-1.1.3.orig/daemon/gsd-clipboard-manager.c xfce4-clipman-plugin-1.1.3/daemon/gsd-clipboard-manager.c --- xfce4-clipman-plugin-1.1.3.orig/daemon/gsd-clipboard-manager.c 2009-11-15 21:24:52.000000000 +0100 +++ xfce4-clipman-plugin-1.1.3/daemon/gsd-clipboard-manager.c 2010-12-31 21:58:06.000000000 +0100 @@ -121,7 +121,7 @@ GtkSelectionData *selection_data_cache = NULL; list = manager->priv->default_cache; - for (; list->next != NULL; list = list->next) { + for (; list != NULL && list->next != NULL; list = list->next) { selection_data_cache = list->data; if (selection_data->target == selection_data_cache->target) { break; @@ -154,8 +154,11 @@ GtkSelectionData *sdata; GSList *list; - target_list = gtk_target_list_new (NULL, 0); list = manager->priv->default_cache; + if (list == NULL) { + return; + } + target_list = gtk_target_list_new (NULL, 0); for (; list->next != NULL; list = list->next) { sdata = list->data; gtk_target_list_add (target_list, sdata->target, 0, 0);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor