diff options
author | Remi Collet <fedora@famillecollet.com> | 2012-09-29 08:27:47 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2012-09-29 08:27:47 +0200 |
commit | 093c393b1952ad46f142de1b6ca160bbb338a55d (patch) | |
tree | 83c61fb88f7fbb3c10ad28e6bd36edf46b9d1239 /php-Smarty-3.1.11-CVE-2012-4437.patch |
php-Smarty: import from rawhide
Diffstat (limited to 'php-Smarty-3.1.11-CVE-2012-4437.patch')
-rw-r--r-- | php-Smarty-3.1.11-CVE-2012-4437.patch | 12 |
1 files changed, 12 insertions, 0 deletions
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); ++ } + } + + /** |