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/mysqli.php | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/program/lib/MDB2/Driver/Native/mysqli.php b/program/lib/MDB2/Driver/Native/mysqli.php old mode 100755 new mode 100644 index 7a41f8f..22d8f36 --- a/program/lib/MDB2/Driver/Native/mysqli.php +++ b/program/lib/MDB2/Driver/Native/mysqli.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 | // | All rights reserved. | // +----------------------------------------------------------------------+ @@ -42,17 +42,19 @@ // | Author: Lukas Smith <smith@pooteeweet.org> | // +----------------------------------------------------------------------+ // -// $Id$ +// $Id: mysqli.php 215004 2006-06-18 21:59:05Z lsmith $ // +require_once 'MDB2/Driver/Native/Common.php'; + /** - * MDB2 MySQL driver for the native module + * MDB2 MySQLi driver for the native module * * @package MDB2 * @category Database * @author Lukas Smith <smith@pooteeweet.org> */ -class MDB2_Driver_Native_mysqli extends MDB2_Module_Common +class MDB2_Driver_Native_mysqli extends MDB2_Driver_Native_Common { } ?> \ No newline at end of file -- Gitblit v1.9.1