glade3 r1765 - in trunk: . gladeui plugins/gtk+
- From: tvb svn gnome org
- To: svn-commits-list gnome org
- Subject: glade3 r1765 - in trunk: . gladeui plugins/gtk+
- Date: Thu, 3 Apr 2008 21:22:28 +0100 (BST)
Author: tvb
Date: Thu Apr 3 21:22:27 2008
New Revision: 1765
URL: http://svn.gnome.org/viewvc/glade3?rev=1765&view=rev
Log:
* plugins/gtk+/glade-gtk.c: Fixed crasher on null string
when parsing modifiers.
Removed:
trunk/gladeui/glade-parser.c
Modified:
trunk/ChangeLog
trunk/plugins/gtk+/glade-gtk.c
Modified: trunk/plugins/gtk+/glade-gtk.c
==============================================================================
--- trunk/plugins/gtk+/glade-gtk.c (original)
+++ trunk/plugins/gtk+/glade-gtk.c Thu Apr 3 21:22:27 2008
@@ -283,7 +283,7 @@
const gchar *pos = string;
GdkModifierType modifiers = 0;
- while (pos[0])
+ while (pos && pos[0])
{
if (!strncmp(pos, "GDK_", 4)) {
pos += 4;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]