changeset 615:1fb44c12a812 trunk

[svn] - avoid NULL dereference. closes mandriva #28603.
author nenolod
date Wed, 07 Feb 2007 10:35:13 -0800
parents 354389b85dce
children 30f74d6b75cf
files ChangeLog src/vorbis/vorbis.c
diffstat 2 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed Feb 07 03:52:25 2007 -0800
+++ b/ChangeLog	Wed Feb 07 10:35:13 2007 -0800
@@ -1,3 +1,10 @@
+2007-02-07 11:52:25 +0000  Giacomo Lozito <james@develia.org>
+  revision [1314]
+  - aosd, further work on ghosd source: do not use a override_redirect=true window and give the WM information about initial pos/size of osd (prevents flickering with normal windows); now the osd won't be displayed in multiple workspaces, only in the one where it's initially triggered
+  trunk/src/aosd/ghosd.c |   38 +++++++++++++++++++++++++++++++++++++-
+  1 file changed, 37 insertions(+), 1 deletion(-)
+
+
 2007-02-07 09:10:37 +0000  Yoshiki Yazawa <yaz@cc.rim.or.jp>
   revision [1312]
   - press F5 on not yet played stream no longer hangs.
--- a/src/vorbis/vorbis.c	Wed Feb 07 03:52:25 2007 -0800
+++ b/src/vorbis/vorbis.c	Wed Feb 07 10:35:13 2007 -0800
@@ -37,7 +37,7 @@
 
 #define DEBUG
 
-#define REMOVE_NONEXISTANT_TAG(x)   if (!*x) { x = NULL; }
+#define REMOVE_NONEXISTANT_TAG(x)   if (x != NULL && !*x) { x = NULL; }
 
 #include <glib.h>
 #include <gtk/gtk.h>