Secure extracts
@@ -89,7 +89,7 @@ class Grammar {
foreach ($query->joins as $join)
{
- extract($join);
+ extract($join, EXTR_SKIP);
list($column1, $column2) = array($this->wrap($column1), $this->wrap($column2));
@@ -30,7 +30,7 @@ class Cookie implements Driver {
*/
public function save($session, $config, $exists)
- extract($config);
+ extract($config, EXTR_SKIP);
$payload = Crypter::encrypt(serialize($session));