tracker r1791 - in branches/indexer-split: . src/trackerd



Author: pvanhoof
Date: Fri Jun 27 11:23:10 2008
New Revision: 1791
URL: http://svn.gnome.org/viewvc/tracker?rev=1791&view=rev

Log:
2008-06-27  Philip Van Hoof  <pvanhoof gnome org>

        * src/trackerd/tracker-xesam-query.c:
        * src/trackerd/tracker-rdf-query.c:

        Incorrect queries (user input) should never crash the service
        (critical assertions)



Modified:
   branches/indexer-split/ChangeLog
   branches/indexer-split/src/trackerd/tracker-rdf-query.c
   branches/indexer-split/src/trackerd/tracker-xesam-query.c

Modified: branches/indexer-split/src/trackerd/tracker-rdf-query.c
==============================================================================
--- branches/indexer-split/src/trackerd/tracker-rdf-query.c	(original)
+++ branches/indexer-split/src/trackerd/tracker-rdf-query.c	Fri Jun 27 11:23:10 2008
@@ -1099,7 +1099,7 @@
 	       GError		   *error,
 	       gpointer		   user_data)
 {
-	g_critical ("in rdf query parse: %s", error->message);
+	g_message ("in rdf query parse: %s", error->message);
 }
 
 

Modified: branches/indexer-split/src/trackerd/tracker-xesam-query.c
==============================================================================
--- branches/indexer-split/src/trackerd/tracker-xesam-query.c	(original)
+++ branches/indexer-split/src/trackerd/tracker-xesam-query.c	Fri Jun 27 11:23:10 2008
@@ -1372,7 +1372,7 @@
 	       GError		   *error,
 	       gpointer		   user_data)
 {
-	g_critical ("Failed to parse RDF query, %s", error->message);
+	g_message ("Failed to parse RDF query, %s", error->message);
 }
 
 void



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]