? includes/decode_blob.patch
Index: includes/export.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/ctools/includes/export.inc,v
retrieving revision 1.13
diff -u -5 -p -r1.13 export.inc
--- includes/export.inc	24 Apr 2009 15:50:24 -0000	1.13
+++ includes/export.inc	22 Jun 2009 05:22:55 -0000
@@ -287,11 +287,11 @@ function _ctools_export_unpack_object($s
     }
   }
 
   // Go through our schema and build correlations.
   foreach ($schema['fields'] as $field => $info) {
-    $object->$field = empty($info['serialize']) ? $data->$field : unserialize($data->$field);
+    $object->$field = empty($info['serialize']) ? $data->$field : unserialize(db_decode_blob($data->$field));
   }
 
   return $object;
 }
 
Index: includes/object-cache.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/ctools/includes/object-cache.inc,v
retrieving revision 1.7
diff -u -5 -p -r1.7 object-cache.inc
--- includes/object-cache.inc	29 Jan 2009 22:33:40 -0000	1.7
+++ includes/object-cache.inc	22 Jun 2009 05:22:56 -0000
@@ -35,11 +35,11 @@ function ctools_object_cache_get($obj, $
   }
 
   if (!array_key_exists($key, $cache)) {
     $data = db_fetch_object(db_query("SELECT * FROM {ctools_object_cache} WHERE sid = '%s' AND obj = '%s' AND name = '%s'", session_id(), $obj, $name));
     if ($data) {
-      $cache[$key] = unserialize($data->data);
+      $cache[$key] = unserialize(db_decode_blob($data->data));
     }
   }
   return isset($cache[$key]) ? $cache[$key] : NULL;
 }
 
