tracker r3095 - in trunk: . src/tracker-extract
- From: carlosg svn gnome org
- To: svn-commits-list gnome org
- Subject: tracker r3095 - in trunk: . src/tracker-extract
- Date: Tue, 17 Mar 2009 10:12:52 +0000 (UTC)
Author: carlosg
Date: Tue Mar 17 10:12:52 2009
New Revision: 3095
URL: http://svn.gnome.org/viewvc/tracker?rev=3095&view=rev
Log:
2009-03-17 Carlos Garnacho <carlos imendio com>
* src/tracker-extract/tracker-escape.c (tracker_escape_metadata):
Handle NULL strings. Fixes NB#106201.
Modified:
trunk/ChangeLog
trunk/src/tracker-extract/tracker-escape.c
Modified: trunk/src/tracker-extract/tracker-escape.c
==============================================================================
--- trunk/src/tracker-extract/tracker-escape.c (original)
+++ trunk/src/tracker-extract/tracker-escape.c Tue Mar 17 10:12:52 2009
@@ -33,6 +33,10 @@
{
const gchar *end;
+ if (!str) {
+ return NULL;
+ }
+
if (g_utf8_validate (str, -1, &end)) {
return g_strstrip (g_strdup (str));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]