Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.1:Update
xfce4-panel-plugin-cpugraph
xfce4-panel-plugin-cpugraph-1.0.1-fix-buffer-ov...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xfce4-panel-plugin-cpugraph-1.0.1-fix-buffer-overflow.patch of Package xfce4-panel-plugin-cpugraph
diff -urNp xfce4-cpugraph-plugin-1.0.1.orig/panel-plugin/properties.c xfce4-cpugraph-plugin-1.0.1/panel-plugin/properties.c --- xfce4-cpugraph-plugin-1.0.1.orig/panel-plugin/properties.c 2010-12-05 16:33:23.000000000 +0100 +++ xfce4-cpugraph-plugin-1.0.1/panel-plugin/properties.c 2011-02-09 13:25:05.000000000 +0100 @@ -208,8 +208,7 @@ static void setup_tracked_core_option( G items[0] = _("All"); for( i = 1; i < nb_items; i++ ) { - items[i] = g_malloc( g_snprintf( NULL, 0, "%u", i ) ); - g_sprintf( items[i], "%u", i ); + items[i] = g_strdup_printf( "%u", i ); } create_drop_down( vbox, sg, _("Tracked Core:"), (const gchar **)items, nb_items, base->tracked_core, change_core, base); for( i = 1; i < nb_items; i++ )
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