From 197203727417a03d87053a47e5aa5175a76e3e0b Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Thu, 17 Oct 2013 04:24:53 -0400
Subject: [PATCH] Fix vulnerability in handling _session argument of utils/save-prefs (#1489382)

---
 program/lib/MDB2/Driver/Native/mssql.php |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/program/lib/MDB2/Driver/Native/mssql.php b/program/lib/MDB2/Driver/Native/mssql.php
old mode 100755
new mode 100644
index bc5013c..dad6a14
--- a/program/lib/MDB2/Driver/Native/mssql.php
+++ b/program/lib/MDB2/Driver/Native/mssql.php
@@ -2,7 +2,7 @@
 // +----------------------------------------------------------------------+
 // | PHP versions 4 and 5                                                 |
 // +----------------------------------------------------------------------+
-// | Copyright (c) 1998-2004 Manuel Lemos, Tomas V.V.Cox,                 |
+// | Copyright (c) 1998-2006 Manuel Lemos, Tomas V.V.Cox,                 |
 // | Stig. S. Bakken, Lukas Smith, Frank M. Kromann                       |
 // | All rights reserved.                                                 |
 // +----------------------------------------------------------------------+
@@ -42,8 +42,10 @@
 // | Author: Lukas Smith <smith@pooteeweet.org>                           |
 // +----------------------------------------------------------------------+
 //
-// $Id$
+// $Id: mssql.php 215004 2006-06-18 21:59:05Z lsmith $
 //
+
+require_once 'MDB2/Driver/Native/Common.php';
 
 /**
  * MDB2 MSSQL driver for the native module
@@ -52,7 +54,7 @@
  * @category Database
  * @author  Lukas Smith <smith@dybnet.de>
  */
-class MDB2_Driver_Native_mssql extends MDB2_Module_Common
+class MDB2_Driver_Native_mssql extends MDB2_Driver_Native_Common
 {
 }
 ?>
\ No newline at end of file

--
Gitblit v1.9.1