diff options
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); ++ } + } + + /** |