changeset 1658:fda280358660 trunk

[svn] avoid segfaults
author lu_zero
date Sat, 09 Sep 2006 18:02:42 -0700
parents 81e057e03c1f
children eeaf62b288a3
files ChangeLog libaudacious/titlestring.c
diffstat 2 files changed, 10 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri Sep 08 17:31:49 2006 -0700
+++ b/ChangeLog	Sat Sep 09 18:02:42 2006 -0700
@@ -1,3 +1,12 @@
+2006-09-09 00:31:49 +0000  William Pitcock <nenolod@nenolod.net>
+  revision [2251]
+  - ensure that the module symtable is consistantly unique on Mach-O bundles
+  
+
+  Changes:        Modified:
+  +2 -2           trunk/configure.ac  
+
+
 2006-09-08 23:55:47 +0000  Tony Vroon <chainsaw@gentoo.org>
   revision [2249]
   Hook PulseAudio into the build system and clean it up a little.
--- a/libaudacious/titlestring.c	Fri Sep 08 17:31:49 2006 -0700
+++ b/libaudacious/titlestring.c	Sat Sep 09 18:02:42 2006 -0700
@@ -112,9 +112,8 @@
                 PUTCH( ' ' );                   \
     } G_STMT_END;
 
-    if (fmt == NULL)
+    if (fmt == NULL || input == NULL)
         return NULL;
-
     outstr = g_string_new("");
 
     for (;;) {