gnome-control-center/panels/region
Bastien Nocera e264df66b1 region: Fix possible crasher on startup
When the X11Variant localed property was empty, variants[i] was
being checked even though only variants[0] was defined (an empty
string).

==17035== Invalid read of size 8
==17035==    at 0x26B9529A: on_localed_properties_changed (gnome-region-panel-system.c:339)
==17035==    by 0x26B95546: localed_proxy_ready (gnome-region-panel-system.c:381)
==17035==    by 0x8CA2589: g_simple_async_result_complete (gsimpleasyncresult.c:775)
==17035==    by 0x8CA25BB: complete_in_idle_cb (gsimpleasyncresult.c:787)
==17035==    by 0x94B8ED4: g_idle_dispatch (gmain.c:4806)
==17035==    by 0x94B6890: g_main_dispatch (gmain.c:2715)
==17035==    by 0x94B7440: g_main_context_dispatch (gmain.c:3219)
==17035==    by 0x94B7623: g_main_context_iterate (gmain.c:3290)
==17035==    by 0x94B76E7: g_main_context_iteration (gmain.c:3351)
==17035==    by 0x8CDB1A1: g_application_run (gapplication.c:1620)
==17035==    by 0x4083C6: main (control-center.c:256)
==17035==  Address 0x13b92e18 is 0 bytes after a block of size 8 alloc'd
==17035==    at 0x4A0883C: malloc (vg_replace_malloc.c:270)
==17035==    by 0x94BE97B: standard_malloc (gmem.c:85)
==17035==    by 0x94BEA04: g_malloc (gmem.c:159)
==17035==    by 0x94BED2F: g_malloc_n (gmem.c:400)
==17035==    by 0x94DB26A: g_strsplit (gstrfuncs.c:2281)
==17035==    by 0x26B95169: on_localed_properties_changed (gnome-region-panel-system.c:319)
==17035==    by 0x26B95546: localed_proxy_ready (gnome-region-panel-system.c:381)
==17035==    by 0x8CA2589: g_simple_async_result_complete (gsimpleasyncresult.c:775)
==17035==    by 0x8CA25BB: complete_in_idle_cb (gsimpleasyncresult.c:787)
==17035==    by 0x94B8ED4: g_idle_dispatch (gmain.c:4806)
==17035==    by 0x94B6890: g_main_dispatch (gmain.c:2715)
==17035==    by 0x94B7440: g_main_context_dispatch (gmain.c:3219)
2012-11-05 09:37:55 +01:00
..
.indent.pro [region] Rename old Keyboard panel to Region 2010-10-31 23:42:04 -04:00
cc-region-panel.c panels: add register macro 2012-08-21 14:32:33 -04:00
cc-region-panel.h panels: Update for Shell API changes 2011-11-07 18:03:14 +00:00
gnome-region-panel-formats.c region: Align the example dates 2011-10-03 14:32:59 +01:00
gnome-region-panel-formats.h region: show fewer regions 2011-08-22 14:29:56 -04:00
gnome-region-panel-input-chooser.ui region: Add XKB input sources 2012-06-01 18:46:38 +01:00
gnome-region-panel-input.c region: Add the Marathi phonetic input source to the white list 2012-10-08 17:45:30 +02:00
gnome-region-panel-input.h Revert "region: Create a source from the X layout in use when setting is empty" 2012-09-25 13:20:34 +02:00
gnome-region-panel-lang.c region: Ensure the system tab is updated 2011-08-22 14:29:57 -04:00
gnome-region-panel-lang.h region: Add stubs for language tab code 2011-01-24 18:35:21 +00:00
gnome-region-panel-system.c region: Fix possible crasher on startup 2012-11-05 09:37:55 +01:00
gnome-region-panel-system.h region: Ensure the system tab is updated 2011-08-22 14:29:57 -04:00
gnome-region-panel.desktop.in.in Show Printers & Region panels in Unity but hide Background 2012-10-31 06:50:05 -04:00
gnome-region-panel.ui region: Remove dead button 2012-10-01 11:39:04 +02:00
Makefile.am region: Removal of the Layouts tab 2012-06-01 18:46:38 +01:00
region-module.c [region] Rename old Keyboard panel to Region 2010-10-31 23:42:04 -04:00