Revision: 3227
Author: jaim...@gmail.com
Date: Tue Feb 26 03:42:03 2013
Log: Fix for issue #524. The get() method of the SimpleSAML_Store
interface should always return NULL in case of failure.
http://code.google.com/p/simplesamlphp/source/detail?r=3227
Modified:
/trunk/lib/SimpleSAML/Store/SQL.php
=======================================
--- /trunk/lib/SimpleSAML/Store/SQL.php Wed Jan 19 03:52:55 2011
+++ /trunk/lib/SimpleSAML/Store/SQL.php Tue Feb 26 03:42:03 2013
@@ -252,6 +252,10 @@
}
$value = urldecode($value);
$value = unserialize($value);
+
+ if ($value === FALSE) {
+ return NULL;
+ }
return $value;
}
--
You received this message because you are subscribed to the Google Groups
"simpleSAMLphp commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to simplesamlphp-commits+unsubscr...@googlegroups.com.
To post to this group, send email to simplesamlphp-commits@googlegroups.com.
Visit this group at http://groups.google.com/group/simplesamlphp-commits?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.