From 093c393b1952ad46f142de1b6ca160bbb338a55d Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sat, 29 Sep 2012 08:27:47 +0200 Subject: php-Smarty: import from rawhide --- php-Smarty-3.1.11-CVE-2012-4437.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 php-Smarty-3.1.11-CVE-2012-4437.patch (limited to 'php-Smarty-3.1.11-CVE-2012-4437.patch') diff --git a/php-Smarty-3.1.11-CVE-2012-4437.patch b/php-Smarty-3.1.11-CVE-2012-4437.patch new file mode 100644 index 0000000..1f5d4d5 --- /dev/null +++ b/php-Smarty-3.1.11-CVE-2012-4437.patch @@ -0,0 +1,12 @@ +--- libs/Smarty.class.php~ 2012-06-30 16:00:24.000000000 -0500 ++++ libs/Smarty.class.php 2012-09-20 07:30:54.070817148 -0500 +@@ -1481,6 +1481,9 @@ + * @package Smarty + */ + class SmartyException extends Exception { ++ public function __construct($message) { ++ $this->message = htmlentities($message); ++ } + } + + /** -- cgit